C# Class ScreenRegion, swip3

Inheritance: MonoBehaviour
Afficher le fichier Open project: unit9/swip3 Class Usage Examples

Méthodes publiques

Méthode Description
ClampToScreenRegion ( Vector3 aimPos, Vector3 &clampedPos, Vector3 &clampedDirection ) : float

Clamps a transform to this screen region and rotates it to face the aimPos

Update ( ) : void

Private Methods

Méthode Description
OnDrawGizmos ( ) : void
Start ( ) : void

Method Details

ClampToScreenRegion() public méthode

Clamps a transform to this screen region and rotates it to face the aimPos
public ClampToScreenRegion ( Vector3 aimPos, Vector3 &clampedPos, Vector3 &clampedDirection ) : float
aimPos Vector3 Aim position.
clampedPos Vector3
clampedDirection Vector3
Résultat float

Update() public méthode

public Update ( ) : void
Résultat void