struct TimeSince

in global :: Sandbox

A convenience struct to easily measure time since an event last happened, based on . Typical usage would see you assigning 0 to a variable of this type to reset the timer. Then the struct would return time since the last reset. i.e.: TimeSince lastUsed = 0; if ( lastUsed > 10 ) { /*Do something*/ }


public float Absolute { get; }

Time at which the timer reset happened, based on .

public float Relative { get; }

Time passed since last reset, in seconds.

public Type GetType( )

😔 No documentation found.

public bool Equals( TimeSince o )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public static bool op_Inequality( TimeSince left, TimeSince right )

😔 No documentation found.

public static bool op_Equality( TimeSince left, TimeSince right )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public static bool op_GreaterThanOrEqual( ref TimeSince ts, int f )

😔 No documentation found.

public static bool op_GreaterThan( ref TimeSince ts, int f )

😔 No documentation found.

public static bool op_LessThan( ref TimeSince ts, int f )

😔 No documentation found.

public static bool op_GreaterThanOrEqual( ref TimeSince ts, float f )

😔 No documentation found.

public static bool op_LessThanOrEqual( ref TimeSince ts, float f )

😔 No documentation found.

public static bool op_GreaterThan( ref TimeSince ts, float f )

😔 No documentation found.

public static bool op_LessThan( ref TimeSince ts, float f )

😔 No documentation found.

public static TimeSince op_Implicit( float ts )

😔 No documentation found.

public static bool op_LessThanOrEqual( ref TimeSince ts, int f )

😔 No documentation found.

public static float op_Implicit( TimeSince ts )

😔 No documentation found.