LocomotionTunneling Class
This component will listen to locomotion events and reduce the FOV of the player with a vignette based on the different character motions: rotation, linear movement, accelerations.
AnimationCurve RotationStrength[Get]
AnimationCurve AccelerationStrength[Get]
AnimationCurve MovementStrength[Get]
void SetDeltaTimeProvider ( Func< float > deltaTimeProvider )
Sets a custom function that returns the last delta time in seconds.
ParametersdeltaTimeProviderA delegate that returns the time elapsed since the last frame.
void SetTimeProvider ( Func< float > timeProvider )
Sets a custom function that provides the current time in seconds.
ParameterstimeProviderA delegate that returns the current time in seconds.
virtual void OnEnable ( )
virtual void OnDisable ( )
virtual void LateUpdate ( )