Search Results for

    Show / Hide Table of Contents

    Interface IGameControlsManager

    Namespace: RTSEngine.Controls
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IGameControlsManager : IPreRunGamePriorityService

    Methods

    Get(ControlType, KeyBehaviour, Boolean)

    Declaration
    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
    bool Get(ControlType controlType, bool requireValid = false)
    Parameters
    Type Name Description
    ControlType controlType
    Boolean requireValid
    Returns
    Type Description
    Boolean

    GetCurrentKeyCode(ControlType)

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

    GetDown(ControlType, Boolean)

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

    GetMouseButton(MouseButtonType)

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

    GetMouseButtonDown(MouseButtonType)

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

    GetMouseButtonUp(MouseButtonType)

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

    GetUp(ControlType, Boolean)

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

    InitControlType(ControlType)

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

    IsControlTypeEnabled(ControlType)

    Declaration
    bool IsControlTypeEnabled(ControlType controlType)
    Parameters
    Type Name Description
    ControlType controlType
    Returns
    Type Description
    Boolean
    In This Article
    Back to top Unity RTS Engine Documentation