Table of Contents

Class InputTarget

Namespace
PAC.Input
public class InputTarget : MonoBehaviour
Inheritance
InputTarget

Fields

allowHoldingKeySpam

public bool allowHoldingKeySpam

Field Value

bool

allowLeftClick

public bool allowLeftClick

Field Value

bool

allowMiddleClick

public bool allowMiddleClick

Field Value

bool

allowRightClick

public bool allowRightClick

Field Value

bool

allowScroll

public bool allowScroll

Field Value

bool

cursorHover

public CursorState cursorHover

Field Value

CursorState

cursorPress

public CursorState cursorPress

Field Value

CursorState

cursorSelected

public CursorState cursorSelected

Field Value

CursorState

disableMouseWhenSelected

public bool disableMouseWhenSelected

Field Value

bool

isHoverTrigger

public bool isHoverTrigger

Field Value

bool

keyboardInputEnabled

public bool keyboardInputEnabled

Field Value

bool

mouseDeselectMode

public MouseTargetDeselectMode mouseDeselectMode

Field Value

MouseTargetDeselectMode

mouseInputEnabled

public bool mouseInputEnabled

Field Value

bool

receiveAlreadyHeldKeys

public bool receiveAlreadyHeldKeys

Field Value

bool

uiElement

public UIElement uiElement

Field Value

UIElement

viewport

public UIViewport viewport

Field Value

UIViewport

Properties

collider

public Collider2D collider { get; }

Property Value

Collider2D

cursorScroll

public CursorState cursorScroll { get; set; }

Property Value

CursorState

keyboardTarget

public KeyboardTarget keyboardTarget { get; }

Property Value

KeyboardTarget

mouseTarget

public MouseTarget mouseTarget { get; }

Property Value

MouseTarget

targetName

public string targetName { get; }

Property Value

string

targetTag

public int targetTag { get; }

Property Value

int

Methods

GetUntargeted()

public void GetUntargeted()

SubscribeToTarget(UnityAction)

public void SubscribeToTarget(UnityAction call)

Parameters

call UnityAction

SubscribeToUntarget(UnityAction)

public void SubscribeToUntarget(UnityAction call)

Parameters

call UnityAction

Target()

public void Target()

Untarget()

public void Untarget()