TimedFlag Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a flag that can be activated or deactivated, and whose active duration is tracked and obtained via the GetTimeElapsedSinceSetActive() function. Instances of this object will also raise OnEntered and OnExited events when their activate state is altered.
[System.Serializable]
public class TimedFlag
[<System.Serializable>]
type TimedFlag = class
Public Class TimedFlag
- Inheritance
-
TimedFlag
- Attributes
Active |
Whether or not the state is currently active. |
End |
The time this state was set to inactive (active = false) |
On |
Fired when the state is set to active. Float argument is the time at which the event occurred. |
On |
Fired when the state is set to active. Float argument is the time at which the event occurred. |
Start |
The time this state was set to active |
Get |
Get the amount of time that has passed since this state was set to active. |
Initialize(Boolean) |
Initialize the state to a particular value, without firing any events or listeners. |
To |
Returns a string that represents the current object. |
Proizvod | Verzije |
---|---|
MRTK3 Core Definitions | 3.0, 3.1, 3.2 |