C# Class Assets.Scripts.Utils.TimeEvent

Datei anzeigen Open project: nubick/unity-utils Class Usage Examples

Public Methods

Method Description
GetDeferred ( ) : TimeEvent
GetProgress ( ) : float
IsOccurred ( ) : bool
PopIsOccurred ( bool restart = true ) : bool
Start ( float duration ) : void
TimeEvent ( float duration ) : UnityEngine

Private Methods

Method Description
Init ( float duration ) : void
TimeEvent ( ) : UnityEngine

Method Details

GetDeferred() public static method

public static GetDeferred ( ) : TimeEvent
return TimeEvent

GetProgress() public method

public GetProgress ( ) : float
return float

IsOccurred() public method

public IsOccurred ( ) : bool
return bool

PopIsOccurred() public method

public PopIsOccurred ( bool restart = true ) : bool
restart bool
return bool

Start() public method

public Start ( float duration ) : void
duration float
return void

TimeEvent() public method

public TimeEvent ( float duration ) : UnityEngine
duration float
return UnityEngine