HingeEngageableObject Methods |
The HingeEngageableObject type exposes the following members.
Name | Description | |
---|---|---|
Awake |
Unity component method
(Overrides EngageableObjectAwake.) | |
GetAverageDirectionOfMovementForPositionUpdate |
Default direction is from interaction point to controller
(Overrides EngageableObjectGetAverageDirectionOfMovementForPositionUpdate.) | |
GetDirectionOfMovementForPositionUpdate |
Default direction is from interaction point to controller
(Overrides EngageableObjectGetDirectionOfMovementForPositionUpdate(Int32).) | |
IsMovementVelocityValid |
Checks whether the vector passed in is valid - checks for Nan, and that it's magnitude is greater than Mathf.Epsilon
(Overrides EngageableObjectIsMovementVelocityValid(Vector3).) | |
OnDrawGizmos |
Unity Component Method
(Overrides EngageableObjectOnDrawGizmos.) | |
RestrictPosition |
Restrict position so that hinge cannot be moved
(Overrides EngageableObjectRestrictPosition(Vector3).) | |
SetInteractionTargets |
Sets the interaction target on the controller
(Overrides EngageableObjectSetInteractionTargets(Controller).) |
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
GetObjectIndex |
Gets the index from the IndexedMonoBehaviour
(Defined by GUID.) | |
GetOwner |
Gets the owner id from the IndexedMonoBehaviour
(Defined by GUID.) | |
GetOwnerType |
Gets the owner type from the IndexedMonoBehaviour
(Defined by GUID.) | |
GetScene |
Gets the scene id from the IndexedMonoBehaviour
(Defined by GUID.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |