Table of Contents

Class InputSystem

Namespace
PAC.Input
public class InputSystem : MonoBehaviour
Inheritance
InputSystem

Fields

timeBetweenKeySpam

public float timeBetweenKeySpam

Field Value

float

timeUntilKeySpam

public float timeUntilKeySpam

Field Value

float

Properties

globalInputTarget

public InputTarget globalInputTarget { get; }

Property Value

InputTarget

globalKeyboardTarget

public KeyboardTarget globalKeyboardTarget { get; }

Property Value

KeyboardTarget

globalMouseTarget

public MouseTarget globalMouseTarget { get; }

Property Value

MouseTarget

hasInputTarget

public bool hasInputTarget { get; }

Property Value

bool

inputTarget

public InputTarget inputTarget { get; }

Property Value

InputTarget

keyboard

public Keyboard keyboard { get; }

Property Value

Keyboard

mouse

public Mouse mouse { get; }

Property Value

Mouse

Methods

LockForAFrame()

public void LockForAFrame()

SubscribeToGlobalKeyboard(UnityAction)

public void SubscribeToGlobalKeyboard(UnityAction call)

Parameters

call UnityAction

SubscribeToGlobalLeftClick(UnityAction)

public void SubscribeToGlobalLeftClick(UnityAction call)

Parameters

call UnityAction

SubscribeToGlobalMouseScroll(UnityAction)

public void SubscribeToGlobalMouseScroll(UnityAction call)

Parameters

call UnityAction

Target(InputTarget)

public bool Target(InputTarget newTarget)

Parameters

newTarget InputTarget

Returns

bool

Untarget()

public InputTarget Untarget()

Returns

InputTarget