Method | 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 |
Method | Description | |
---|---|---|
OnDrawGizmos ( ) : void | ||
Start ( ) : void |
public ClampToScreenRegion ( Vector3 aimPos, Vector3 &clampedPos, Vector3 &clampedDirection ) : float | ||
aimPos | Vector3 | Aim position. |
clampedPos | Vector3 | |
clampedDirection | Vector3 | |
return | float |