Struct DeltaTimer
Debounce and timing utilities based on delta time.
public struct DeltaTimer
- Inherited Members
Constructors
DeltaTimer(float)
public DeltaTimer(float seconds)
Parameters
seconds
float
Properties
Seconds
Time span of this timer. Once the internal clock hits zero, it resets to this.
public float Seconds { readonly get; set; }
Property Value
Methods
Update(float, Action)
public void Update(float delta, Action actionOnTime)