Struct TimerState
Contains timing information of scheduler events.
Syntax
public struct TimerState : IEquatable<TimerState>
Properties
deltaTime
Time difference in milliseconds between now and the previous callback.
Declaration
public long deltaTime { get; }
Property Value
now
Current time in milliseconds.
Declaration
public long now { get; set; }
Property Value
start
Start time in milliseconds, or last callback time for repeatable .
Declaration
public long start { get; set; }
Property Value
Methods
Equals(Object)
Compare this object with another object and return true if they are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
The object to compare with.
|
Returns
Type |
Description |
Boolean |
True if the objects are equal.
|
Equals(TimerState)
Compare this object with another object and return true if they are equal.
Declaration
public bool Equals(TimerState other)
Parameters
Type |
Name |
Description |
TimerState |
other |
The object to compare with.
|
Returns
Type |
Description |
Boolean |
True if the objects are equal.
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Operators
Equality(TimerState, TimerState)
Declaration
public static bool operator ==(TimerState state1, TimerState state2)
Parameters
Returns
Inequality(TimerState, TimerState)
Declaration
public static bool operator !=(TimerState state1, TimerState state2)
Parameters
Returns