Search Results for

    Show / Hide Table of Contents

    Class GlobalTimeModifiedTimer

    Inheritance
    Object
    TimeModifiedTimer
    GlobalTimeModifiedTimer
    Inherited Members
    TimeModifiedTimer.DefaultValue
    TimeModifiedTimer.CurrValue
    TimeModifiedTimer.ModifiedDecrease()
    TimeModifiedTimer.SetDefaultValue(Single)
    TimeModifiedTimer.Reload()
    TimeModifiedTimer.Reload(Single)
    TimeModifiedTimer.Reload(FloatRange)
    Namespace: RTSEngine.Determinism
    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
    Type Description
    Boolean

    IsInitialized

    Declaration
    public bool IsInitialized { get; }
    Property Value
    Type Description
    Boolean

    timeModifier

    Declaration
    protected ITimeModifier timeModifier { get; }
    Property Value
    Type Description
    ITimeModifier

    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
    In This Article
    Back to top Unity RTS Engine Documentation