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

LocomotionTunneling Class

Extends MonoBehaviour, ITimeConsumer, IDeltaTimeConsumer
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.

Properties

AnimationCurve RotationStrength[Get]
AnimationCurve AccelerationStrength[Get]
AnimationCurve MovementStrength[Get]
float FadeOutTime[Get]
float FadeOutWait[Get]

Member Functions

Sets a function that returns the last delta time in seconds.
Sets a function that returns the current time in seconds.

Protected Functions

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