Class Clickable
Assembly: UnityEngine.dll
Syntax
public class Clickable : MouseManipulator, IManipulator
Constructors
|
Improve this Doc
View Source
Clickable(Action)
Declaration
public Clickable(Action handler)
Parameters
Type |
Name |
Description |
Action |
handler |
|
|
Improve this Doc
View Source
Clickable(Action, Int64, Int64)
Declaration
public Clickable(Action handler, long delay, long interval)
Parameters
|
Improve this Doc
View Source
Clickable(Action<EventBase>)
Declaration
public Clickable(Action<EventBase> handler)
Parameters
Fields
|
Improve this Doc
View Source
m_Active
Declaration
Field Value
Properties
|
Improve this Doc
View Source
lastMousePosition
Declaration
public Vector2 lastMousePosition { get; }
Property Value
Methods
|
Improve this Doc
View Source
OnMouseDown(MouseDownEvent)
Declaration
protected void OnMouseDown(MouseDownEvent evt)
Parameters
|
Improve this Doc
View Source
OnMouseMove(MouseMoveEvent)
Declaration
protected void OnMouseMove(MouseMoveEvent evt)
Parameters
|
Improve this Doc
View Source
OnMouseUp(MouseUpEvent)
Declaration
protected void OnMouseUp(MouseUpEvent evt)
Parameters
|
Improve this Doc
View Source
RegisterCallbacksOnTarget()
Declaration
protected override void RegisterCallbacksOnTarget()
Overrides
|
Improve this Doc
View Source
UnregisterCallbacksFromTarget()
Declaration
protected override void UnregisterCallbacksFromTarget()
Overrides
Events
|
Improve this Doc
View Source
clicked
Declaration
public event Action clicked
Event Type
|
Improve this Doc
View Source
clickedWithEventInfo
Declaration
public event Action<EventBase> clickedWithEventInfo
Event Type
Implements
Extension Methods