Component to force a GameObect to follow a target Gameobject.
Public Attributes | |
GameObject | _target |
The target GameObject to follow. More... | |
Vector3 | _gap = Vector3.zero |
Gap between the parent GameObject and it's Target. More... | |
bool | _followOnX = true |
Has the parent GameObject to follow the target on the X axis. More... | |
bool | _followOnY = false |
Has the parent GameObject to follow the target on the Y axis. More... | |
bool | _followOnZ = true |
Has the parent GameObject to follow the target on the Z axis. More... | |
float | _lerpSpeed = 0.2f |
Lerp speed of the parent GameObject. More... | |
bool Nectunia.Utility.FollowTarget._followOnX = true |
Has the parent GameObject to follow the target on the X axis.
bool Nectunia.Utility.FollowTarget._followOnY = false |
Has the parent GameObject to follow the target on the Y axis.
bool Nectunia.Utility.FollowTarget._followOnZ = true |
Has the parent GameObject to follow the target on the Z axis.
Vector3 Nectunia.Utility.FollowTarget._gap = Vector3.zero |
Gap between the parent GameObject and it's Target.
float Nectunia.Utility.FollowTarget._lerpSpeed = 0.2f |
Lerp speed of the parent GameObject.
GameObject Nectunia.Utility.FollowTarget._target |
The target GameObject to follow.