FollowTransform Class |
Namespace: Kit.Behaviours
The FollowTransform type exposes the following members.
| Name | Description | |
|---|---|---|
| Follow | Start following again if stopped. | |
| Follow(Transform) | Follow a different Transform using the current distance between them. | |
| Follow(Transform, Single) | Follow a different Transform at a specified distance. | |
| Stop | Stop following. |
| Name | Description | |
|---|---|---|
| Distance | The distance to keep while following. | |
| Face | Should it keep facing the target? | |
| MoveSpeed | The speed at which to follow. | |
| RotateSpeed | The speed at which to face. | |
| Target | The target Transform to follow. |
| Name | Description | |
|---|---|---|
| Destroy | Destroy the object. (Defined by UnityObjectExtensions.) | |
| Disable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| Enable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| GetBounds | Returns the bounds of the Component. | |
| IsPrefab | Returns whether the Component is a part of a prefab. (Defined by ComponentExtensions.) |