![]() |
Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
|
Describes a blink phase, defined by a duration for the phase, and the time it should remain inactive and active, sequentially For the duration of the phase, the object will be off for OffDuration, then on for OnDuration, then off again for OffDuration, etc If you want a grenade to blink briefly every .2 seconds, for 1 second, these parameters are what you're after : PhaseDuration = 1f; OffDuration = 0.2f; OnDuration = 0.1f;. More...
Public Attributes | |
| float | PhaseDuration = 1f |
| the duration of that specific phase, in seconds | |
| float | OffDuration = 0.2f |
| the time the object should remain off | |
| float | OnDuration = 0.1f |
| the time the object should then remain on | |
| float | OffLerpDuration = 0.05f |
| the speed at which to lerp to off state | |
| float | OnLerpDuration = 0.05f |
| the speed at which to lerp to on state | |
Describes a blink phase, defined by a duration for the phase, and the time it should remain inactive and active, sequentially For the duration of the phase, the object will be off for OffDuration, then on for OnDuration, then off again for OffDuration, etc If you want a grenade to blink briefly every .2 seconds, for 1 second, these parameters are what you're after : PhaseDuration = 1f; OffDuration = 0.2f; OnDuration = 0.1f;.
| float MoreMountains.Feedbacks.BlinkPhase.OffDuration = 0.2f |
the time the object should remain off
| float MoreMountains.Feedbacks.BlinkPhase.OffLerpDuration = 0.05f |
the speed at which to lerp to off state
| float MoreMountains.Feedbacks.BlinkPhase.OnDuration = 0.1f |
the time the object should then remain on
| float MoreMountains.Feedbacks.BlinkPhase.OnLerpDuration = 0.05f |
the speed at which to lerp to on state
| float MoreMountains.Feedbacks.BlinkPhase.PhaseDuration = 1f |
the duration of that specific phase, in seconds