Class InputTarget
public class InputTarget : MonoBehaviour
- Inheritance
-
InputTarget
Fields
public bool allowHoldingKeySpam
Field Value
- bool
public bool allowLeftClick
Field Value
- bool
public bool allowMiddleClick
Field Value
- bool
public bool allowRightClick
Field Value
- bool
Field Value
- bool
public CursorState cursorHover
Field Value
- CursorState
public CursorState cursorPress
Field Value
- CursorState
public CursorState cursorSelected
Field Value
- CursorState
public bool disableMouseWhenSelected
Field Value
- bool
public bool isHoverTrigger
Field Value
- bool
public bool keyboardInputEnabled
Field Value
- bool
public MouseTargetDeselectMode mouseDeselectMode
Field Value
- MouseTargetDeselectMode
public bool mouseInputEnabled
Field Value
- bool
public bool receiveAlreadyHeldKeys
Field Value
- bool
public UIElement uiElement
Field Value
- UIElement
public UIViewport viewport
Field Value
- UIViewport
Properties
public Collider2D collider { get; }
Property Value
- Collider2D
public CursorState cursorScroll { get; set; }
Property Value
- CursorState
public KeyboardTarget keyboardTarget { get; }
Property Value
- KeyboardTarget
public MouseTarget mouseTarget { get; }
Property Value
- MouseTarget
public string targetName { get; }
Property Value
- string
public int targetTag { get; }
Property Value
- int
Methods
public void GetUntargeted()
public void SubscribeToTarget(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToUntarget(UnityAction call)
Parameters
call
UnityAction