Search Results for

    Show / Hide Table of Contents

    Class GameControlsManager

    Inheritance
    Object
    GameControlsManager
    Implements
    IGameControlsManager
    IPreRunGamePriorityService
    Namespace: RTSEngine.Controls
    Assembly: cs.temp.dll.dll
    Syntax
    public class GameControlsManager : MonoBehaviour, IGameControlsManager, IPreRunGamePriorityService

    Properties

    logger

    Declaration
    protected IGameLoggingService logger { get; }
    Property Value
    Type Description
    IGameLoggingService

    ServicePriority

    Declaration
    public int ServicePriority { get; }
    Property Value
    Type Description
    Int32

    Methods

    Get(ControlType, KeyBehaviour, Boolean)

    Declaration
    public bool Get(ControlType controlType, KeyBehaviour behaviour, bool requireValid = false)
    Parameters
    Type Name Description
    ControlType controlType
    KeyBehaviour behaviour
    Boolean requireValid
    Returns
    Type Description
    Boolean

    Get(ControlType, Boolean)

    Declaration
    public bool Get(ControlType controlType, bool requireValid = false)
    Parameters
    Type Name Description
    ControlType controlType
    Boolean requireValid
    Returns
    Type Description
    Boolean

    GetCurrentKeyCode(ControlType)

    Declaration
    public KeyCode GetCurrentKeyCode(ControlType controlType)
    Parameters
    Type Name Description
    ControlType controlType
    Returns
    Type Description
    KeyCode

    GetDown(ControlType, Boolean)

    Declaration
    public bool GetDown(ControlType controlType, bool requireValid = false)
    Parameters
    Type Name Description
    ControlType controlType
    Boolean requireValid
    Returns
    Type Description
    Boolean

    GetMouseButton(MouseButtonType)

    Declaration
    public bool GetMouseButton(MouseButtonType type)
    Parameters
    Type Name Description
    MouseButtonType type
    Returns
    Type Description
    Boolean

    GetMouseButtonDown(MouseButtonType)

    Declaration
    public bool GetMouseButtonDown(MouseButtonType type)
    Parameters
    Type Name Description
    MouseButtonType type
    Returns
    Type Description
    Boolean

    GetMouseButtonUp(MouseButtonType)

    Declaration
    public bool GetMouseButtonUp(MouseButtonType type)
    Parameters
    Type Name Description
    MouseButtonType type
    Returns
    Type Description
    Boolean

    GetUp(ControlType, Boolean)

    Declaration
    public bool GetUp(ControlType controlType, bool requireValid = false)
    Parameters
    Type Name Description
    ControlType controlType
    Boolean requireValid
    Returns
    Type Description
    Boolean

    Init(IGameManager)

    Declaration
    public void Init(IGameManager gameMgr)
    Parameters
    Type Name Description
    IGameManager gameMgr

    InitControlType(ControlType)

    Declaration
    public bool InitControlType(ControlType controlType)
    Parameters
    Type Name Description
    ControlType controlType
    Returns
    Type Description
    Boolean

    InitControlType(ControlType, out ControlTypeRuntimeWrapper)

    Declaration
    public bool InitControlType(ControlType controlType, out ControlTypeRuntimeWrapper runtimeWrapper)
    Parameters
    Type Name Description
    ControlType controlType
    ControlTypeRuntimeWrapper runtimeWrapper
    Returns
    Type Description
    Boolean

    IsControlTypeEnabled(ControlType)

    Declaration
    public bool IsControlTypeEnabled(ControlType controlType)
    Parameters
    Type Name Description
    ControlType controlType
    Returns
    Type Description
    Boolean

    Implements

    IGameControlsManager
    IPreRunGamePriorityService
    In This Article
    Back to top Unity RTS Engine Documentation