API reference
API reference
Select your platform
No SDKs available
No versions available

AnimatedSnapTurnVisuals Class

Extends MonoBehaviour, ITimeConsumer
Drives the visuals of a TurnArrowVisuals when a Rotation.Relative event is detected from a ILocomotionEventBroadcaster.

Properties

ILocomotionEventBroadcaster LocomotionEventBroadcaster[Get]
AnimationCurve Animation[Get]
float HighlightOffset[Get]

Protected Fields

bool _started[Get]

Member Functions

Sets a function that returns the current time in seconds
void InjectAllAnimatedSnapTurnVisuals
( TurnArrowVisuals visuals,
ILocomotionEventBroadcaster locomotionEventBroadcaster )
void InjectVisuals
( TurnArrowVisuals visuals )
void InjectLocomotionEventBroadcaster
( ILocomotionEventBroadcaster locomotionEventBroadcaster )

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon