Class MouseTarget
- Inheritance
-
MouseTarget
- Inherited Members
-
Fields
public bool allowLeftClick
Field Value
- bool
public bool allowMiddleClick
Field Value
- bool
public bool allowRightClick
Field Value
- bool
Field Value
- bool
public MouseButton buttonTargetedWith
Field Value
- MouseButton
public CursorState cursorHover
Field Value
- CursorState
public CursorState cursorPress
Field Value
- CursorState
public CursorState cursorScroll
Field Value
- CursorState
public CursorState cursorSelected
Field Value
- CursorState
public MouseTargetDeselectMode deselectMode
Field Value
- MouseTargetDeselectMode
public bool isHoverTrigger
Field Value
- bool
Properties
public bool selected { get; }
Property Value
- bool
public MouseTargetState state { get; }
Property Value
- MouseTargetState
public float timeHovered { get; }
Property Value
- float
Methods
public void SubscribeToClick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToDeselect(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToHover(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToIdle(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToLeftClick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToLeftUnclick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToMiddleClick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToMiddleUnclick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToPress(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToRightClick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToRightUnclick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToScroll(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToSelect(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToStateChange(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToUnclick(UnityAction call)
Parameters
call
UnityAction
public void SubscribeToUntarget(UnityAction call)
Parameters
call
UnityAction