Table of Contents

Class MouseTarget

Namespace
PAC.Input
public class MouseTarget
Inheritance
MouseTarget
Inherited Members

Fields

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

buttonTargetedWith

public MouseButton buttonTargetedWith

Field Value

MouseButton

cursorHover

public CursorState cursorHover

Field Value

CursorState

cursorPress

public CursorState cursorPress

Field Value

CursorState

cursorScroll

public CursorState cursorScroll

Field Value

CursorState

cursorSelected

public CursorState cursorSelected

Field Value

CursorState

deselectMode

public MouseTargetDeselectMode deselectMode

Field Value

MouseTargetDeselectMode

isHoverTrigger

public bool isHoverTrigger

Field Value

bool

Properties

selected

public bool selected { get; }

Property Value

bool

state

public MouseTargetState state { get; }

Property Value

MouseTargetState

timeHovered

public float timeHovered { get; }

Property Value

float

Methods

Deselect()

public void Deselect()

Hover()

public void Hover()

Idle()

public void Idle()

Press()

public void Press()

Scroll()

public void Scroll()

Select()

public void Select()

SubscribeToClick(UnityAction)

public void SubscribeToClick(UnityAction call)

Parameters

call UnityAction

SubscribeToDeselect(UnityAction)

public void SubscribeToDeselect(UnityAction call)

Parameters

call UnityAction

SubscribeToHover(UnityAction)

public void SubscribeToHover(UnityAction call)

Parameters

call UnityAction

SubscribeToIdle(UnityAction)

public void SubscribeToIdle(UnityAction call)

Parameters

call UnityAction

SubscribeToLeftClick(UnityAction)

public void SubscribeToLeftClick(UnityAction call)

Parameters

call UnityAction

SubscribeToLeftUnclick(UnityAction)

public void SubscribeToLeftUnclick(UnityAction call)

Parameters

call UnityAction

SubscribeToMiddleClick(UnityAction)

public void SubscribeToMiddleClick(UnityAction call)

Parameters

call UnityAction

SubscribeToMiddleUnclick(UnityAction)

public void SubscribeToMiddleUnclick(UnityAction call)

Parameters

call UnityAction

SubscribeToPress(UnityAction)

public void SubscribeToPress(UnityAction call)

Parameters

call UnityAction

SubscribeToRightClick(UnityAction)

public void SubscribeToRightClick(UnityAction call)

Parameters

call UnityAction

SubscribeToRightUnclick(UnityAction)

public void SubscribeToRightUnclick(UnityAction call)

Parameters

call UnityAction

SubscribeToScroll(UnityAction)

public void SubscribeToScroll(UnityAction call)

Parameters

call UnityAction

SubscribeToSelect(UnityAction)

public void SubscribeToSelect(UnityAction call)

Parameters

call UnityAction

SubscribeToStateChange(UnityAction)

public void SubscribeToStateChange(UnityAction call)

Parameters

call UnityAction

SubscribeToUnclick(UnityAction)

public void SubscribeToUnclick(UnityAction call)

Parameters

call UnityAction

SubscribeToUntarget(UnityAction)

public void SubscribeToUntarget(UnityAction call)

Parameters

call UnityAction

Untarget()

public void Untarget()