Struct ExpiryTime
Represents an expiry time for a visual controlling how it will
be rendered for.
float values can also be accepted in place of an explicit ExpiryTime,
in which case it will be interpreted as the number of seconds the visual
will last.
public readonly struct ExpiryTime
Constructors
ExpiryTime(float)
Fields
Never
Methods
Expired()
Expired(float)
Returns true if this item has expired.
public bool Expired(float currentTime)
Parameters
currentTimefloat