Свойство | Type | Description | |
---|---|---|---|
m_PointerData | PointerEventData>.Dictionary |
Méthode | Description | |
---|---|---|
IsPointerOverGameObject ( int pointerId ) : bool | ||
ToString ( ) : string |
Méthode | Description | |
---|---|---|
ClearSelection ( ) : void |
Clear all pointers and deselect any selected objects in the EventSystem.
|
|
CopyFromTo ( |
Copy one PointerEventData to another.
|
|
DeselectIfSelectionChanged ( GameObject currentOverGo, |
Deselect the current selected GameObject if the currently pointed-at GameObject is different.
|
|
GetLastPointerEventData ( int id ) : |
Return the last PointerEventData for the given touch / mouse id.
|
|
GetMousePointerEventData ( ) : MouseState |
Return the current MouseState.
|
|
GetMousePointerEventData ( int id ) : MouseState |
Return the current MouseState.
|
|
GetPointerData ( int id, |
||
GetTouchPointerEventData ( Touch input, bool &pressed, bool &released ) : |
||
PointerInputModule ( ) : System | ||
ProcessDrag ( |
Process the drag for the current frame with the given pointer event.
|
|
ProcessMove ( |
Process movement for the current frame with the given pointer event.
|
|
RemovePointerData ( |
Remove the PointerEventData from the cache.
|
|
StateForMouseButton ( int buttonId ) : PointerEventData.FramePressState |
Given a mouse button return the current state for the frame.
|
Méthode | Description | |
---|---|---|
ShouldStartDrag ( Vector2 pressPos, Vector2 currentPos, float threshold, bool useDragThreshold ) : bool |
protected CopyFromTo ( |
||
from | ||
to | ||
Résultat | void |
protected DeselectIfSelectionChanged ( GameObject currentOverGo, |
||
currentOverGo | GameObject | The GameObject the pointer is currently over. |
pointerEvent | Current event data. | |
Résultat | void |
protected GetLastPointerEventData ( int id ) : |
||
id | int | |
Résultat |
protected GetMousePointerEventData ( ) : MouseState | ||
Résultat | MouseState |
protected GetMousePointerEventData ( int id ) : MouseState | ||
id | int | |
Résultat | MouseState |
protected GetPointerData ( int id, |
||
id | int | |
data | ||
create | bool | |
Résultat | bool |
protected GetTouchPointerEventData ( Touch input, bool &pressed, bool &released ) : |
||
input | Touch | |
pressed | bool | |
released | bool | |
Résultat |
public IsPointerOverGameObject ( int pointerId ) : bool | ||
pointerId | int | |
Résultat | bool |
protected ProcessDrag ( |
||
pointerEvent | ||
Résultat | void |
protected ProcessMove ( |
||
pointerEvent | ||
Résultat | void |
protected RemovePointerData ( |
||
data | ||
Résultat | void |
protected StateForMouseButton ( int buttonId ) : PointerEventData.FramePressState | ||
buttonId | int | Mouse Button id. |
Résultat | PointerEventData.FramePressState |