struct TimeUntil
A convenience struct to easily manage a time countdown, based on . Typical usage would see you assigning to a variable of this type a necessary amount of seconds. Then the struct would return the time countdown, or can be used as a bool i.e.: TimeUntil nextAttack = 10; if ( nextAttack ) { /*Do something*/ }
public float Absolute { get; }
Time to which we are counting down to, based on .
public float Relative { get; }
The actual countdown, in seconds.
public float Passed { get; }
Amount of seconds passed since the countdown started.
public float Fraction { get; }
The countdown, but as a fraction, i.e. a value from 0 (start of countdown) to 1 (end of countdown)
public Type GetType( )
😔 No documentation found.
public bool Equals( TimeUntil o )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public static bool op_Inequality( TimeUntil left, TimeUntil right )
😔 No documentation found.
public static bool op_Equality( TimeUntil left, TimeUntil right )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public static TimeUntil op_Implicit( float ts )
😔 No documentation found.
public static bool op_GreaterThanOrEqual( ref TimeUntil ts, int f )
😔 No documentation found.
public static bool op_LessThanOrEqual( ref TimeUntil ts, int f )
😔 No documentation found.
public static bool op_GreaterThan( ref TimeUntil ts, int f )
😔 No documentation found.
public static bool op_LessThan( ref TimeUntil ts, int f )
😔 No documentation found.
public static bool op_GreaterThanOrEqual( ref TimeUntil ts, float f )
😔 No documentation found.
public static bool op_LessThanOrEqual( ref TimeUntil ts, float f )
😔 No documentation found.
public static bool op_GreaterThan( ref TimeUntil ts, float f )
😔 No documentation found.
public static bool op_LessThan( ref TimeUntil ts, float f )
😔 No documentation found.
public static float op_Implicit( TimeUntil ts )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public static bool op_Implicit( TimeUntil ts )
😔 No documentation found.