Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SetTarget (RectTransform r) |
void | OnChangeResolution () |
void | OnPointerDown (PointerEventData data) |
void | OnPointerUp (PointerEventData data) |
void | OnInitializePotentialDrag (PointerEventData ped) |
void | OnDrag (PointerEventData data) |
void | OnChangeResolution () |
Public Attributes | |
RectTransform | target |
RectTransform | bound |
RectTransform | container |
bool | axisY = true |
bool | axisX = true |
bool | enable = true |
bool | autoAnchor |
bool | clamp = true |
Action | onDrag |
Static Public Attributes | |
static bool | dragging |
Private Member Functions | |
void | Awake () |
void | ClampToWindow () |
Private Attributes | |
Vector2 | originalLocalPointerPosition |
Vector3 | originalPanelLocalPosition |
Definition at line 5 of file UIDragPanel.cs.
|
inlineprivate |
Definition at line 31 of file UIDragPanel.cs.
|
inlineprivate |
Definition at line 104 of file UIDragPanel.cs.
References axisX, axisY, bound, and target.
Referenced by OnDrag().
|
inline |
|
inline |
Definition at line 84 of file UIDragPanel.cs.
References clamp, ClampToWindow(), container, enable, onDrag, originalLocalPointerPosition, originalPanelLocalPosition, and target.
|
inline |
Definition at line 79 of file UIDragPanel.cs.
|
inline |
Definition at line 53 of file UIDragPanel.cs.
References container, dragging, enable, originalLocalPointerPosition, originalPanelLocalPosition, and target.
|
inline |
Definition at line 67 of file UIDragPanel.cs.
References autoAnchor, axisX, axisY, dragging, enable, and target.
|
inline |
bool UIDragPanel.autoAnchor |
Definition at line 25 of file UIDragPanel.cs.
Referenced by OnPointerUp().
bool UIDragPanel.axisX = true |
Definition at line 21 of file UIDragPanel.cs.
Referenced by ClampToWindow(), and OnPointerUp().
bool UIDragPanel.axisY = true |
Definition at line 19 of file UIDragPanel.cs.
Referenced by ClampToWindow(), and OnPointerUp().
RectTransform UIDragPanel.bound |
Definition at line 15 of file UIDragPanel.cs.
Referenced by Awake(), ClampToWindow(), Widget.OnManagerActivate(), and SetTarget().
bool UIDragPanel.clamp = true |
Definition at line 27 of file UIDragPanel.cs.
Referenced by OnDrag().
RectTransform UIDragPanel.container |
Definition at line 17 of file UIDragPanel.cs.
Referenced by OnDrag(), Widget.OnManagerActivate(), OnPointerDown(), and SetTarget().
|
static |
Definition at line 7 of file UIDragPanel.cs.
Referenced by OnPointerDown(), OnPointerUp(), and BaseTileSelector.OnUpdate().
bool UIDragPanel.enable = true |
Definition at line 23 of file UIDragPanel.cs.
Referenced by OnDrag(), OnPointerDown(), and OnPointerUp().
Action UIDragPanel.onDrag |
Definition at line 29 of file UIDragPanel.cs.
Referenced by OnDrag().
|
private |
Definition at line 9 of file UIDragPanel.cs.
Referenced by OnDrag(), and OnPointerDown().
|
private |
Definition at line 11 of file UIDragPanel.cs.
Referenced by OnDrag(), and OnPointerDown().
RectTransform UIDragPanel.target |
Definition at line 13 of file UIDragPanel.cs.
Referenced by Awake(), ClampToWindow(), OnDrag(), Widget.OnManagerActivate(), OnPointerDown(), OnPointerUp(), and SetTarget().