Class TimeoutHelper
Inheritance
TimeoutHelper
Syntax
public class TimeoutHelper
Constructors
TimeoutHelper(Single)
Declaration
public TimeoutHelper(float timeOutPeriod = 2F)
Parameters
Type |
Name |
Description |
Single |
timeOutPeriod |
|
Fields
k_DefaultTimeOutWaitPeriod
Declaration
protected const float k_DefaultTimeOutWaitPeriod = 2F
Field Value
Properties
m_IsStarted
Declaration
protected bool m_IsStarted { get; }
Property Value
TimedOut
Declaration
public bool TimedOut { get; }
Property Value
Methods
GetTimeElapsed()
Declaration
public float GetTimeElapsed()
Returns
HasTimedOut()
Declaration
public bool HasTimedOut()
Returns
OnHasTimedOut()
Declaration
protected virtual bool OnHasTimedOut()
Returns
OnStart()
Declaration
protected virtual void OnStart()
OnStop()
Declaration
protected virtual void OnStop()
Start()
Declaration
Stop()
Declaration