Class GameControlsManager
Inheritance
GameControlsManager
Implements
IPreRunGamePriorityService
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
Methods
Get(ControlType, KeyBehaviour, Boolean)
Declaration
public bool Get(ControlType controlType, KeyBehaviour behaviour, bool requireValid = false)
Parameters
Returns
Get(ControlType, Boolean)
Declaration
public bool Get(ControlType controlType, bool requireValid = false)
Parameters
Returns
GetCurrentKeyCode(ControlType)
Declaration
public KeyCode GetCurrentKeyCode(ControlType controlType)
Parameters
Returns
GetDown(ControlType, Boolean)
Declaration
public bool GetDown(ControlType controlType, bool requireValid = false)
Parameters
Returns
Declaration
public bool GetMouseButton(MouseButtonType type)
Parameters
Returns
Declaration
public bool GetMouseButtonDown(MouseButtonType type)
Parameters
Returns
Declaration
public bool GetMouseButtonUp(MouseButtonType type)
Parameters
Returns
GetUp(ControlType, Boolean)
Declaration
public bool GetUp(ControlType controlType, bool requireValid = false)
Parameters
Returns
Init(IGameManager)
Declaration
public void Init(IGameManager gameMgr)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
InitControlType(ControlType)
Declaration
public bool InitControlType(ControlType controlType)
Parameters
Returns
InitControlType(ControlType, out ControlTypeRuntimeWrapper)
Declaration
public bool InitControlType(ControlType controlType, out ControlTypeRuntimeWrapper runtimeWrapper)
Parameters
Returns
IsControlTypeEnabled(ControlType)
Declaration
public bool IsControlTypeEnabled(ControlType controlType)
Parameters
Returns
Implements
IPreRunGamePriorityService