Class InputSystem
public class InputSystem : MonoBehaviour
- Inheritance
-
InputSystem
Fields
public float timeBetweenKeySpam
Field Value
- float
public float timeUntilKeySpam
Field Value
- float
Properties
public InputTarget globalInputTarget { get; }
Property Value
- InputTarget
public KeyboardTarget globalKeyboardTarget { get; }
Property Value
- KeyboardTarget
public MouseTarget globalMouseTarget { get; }
Property Value
- MouseTarget
public bool hasInputTarget { get; }
Property Value
- bool
public InputTarget inputTarget { get; }
Property Value
- InputTarget
public Keyboard keyboard { get; }
Property Value
- Keyboard
public Mouse mouse { get; }
Property Value
- Mouse
Methods
public void LockForAFrame()
public void SubscribeToGlobalKeyboard(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToGlobalLeftClick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToGlobalMouseScroll(UnityAction call)
Parameters
call
UnityAction
public bool Target(InputTarget newTarget)
Parameters
newTarget
InputTarget
Returns
- bool
public InputTarget Untarget()
Returns
- InputTarget