Class GlobalTimeModifiedTimer
Inheritance
GlobalTimeModifiedTimer
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class GlobalTimeModifiedTimer : TimeModifiedTimer
Constructors
GlobalTimeModifiedTimer(Boolean)
Declaration
public GlobalTimeModifiedTimer(bool enabled = false)
Parameters
Type |
Name |
Description |
Boolean |
enabled |
|
Properties
IsActive
Declaration
public bool IsActive { get; set; }
Property Value
IsInitialized
Declaration
public bool IsInitialized { get; }
Property Value
timeModifier
Declaration
protected ITimeModifier timeModifier { get; }
Property Value
Methods
Init(IGameManager)
Declaration
public void Init(IGameManager gameMgr)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
Init(IGameManager, Action)
Declaration
public void Init(IGameManager gameMgr, Action timerRemovedCallback)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
System.Action |
timerRemovedCallback |
|
Init(IGameManager, Action, Single)
Declaration
public void Init(IGameManager gameMgr, Action timerRemovedCallback, float defaultValue)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
System.Action |
timerRemovedCallback |
|
System.Single |
defaultValue |
|
SetDefaultValueRange(FloatRange)
Declaration
public void SetDefaultValueRange(FloatRange newDefaultValueRange)
Parameters
Type |
Name |
Description |
FloatRange |
newDefaultValueRange |
|