Class DragCallbackCheck
Implements
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Global Namespace
Assembly: UnityEngine.UI.Tests.dll
Syntax
public class DragCallbackCheck : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler, IDropHandler, IPointerDownHandler, IEventSystemHandler
Fields
onBeginDragCalled
Declaration
public bool onBeginDragCalled
Field Value
Type | Description |
---|---|
bool |
onDragCalled
Declaration
public bool onDragCalled
Field Value
Type | Description |
---|---|
bool |
onDropCalled
Declaration
public bool onDropCalled
Field Value
Type | Description |
---|---|
bool |
onEndDragCalled
Declaration
public bool onEndDragCalled
Field Value
Type | Description |
---|---|
bool |
Methods
OnBeginDrag(PointerEventData)
Called by a BaseInputModule before a drag is started.
Declaration
public void OnBeginDrag(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |
OnDrag(PointerEventData)
When dragging is occurring this will be called every time the cursor is moved.
Declaration
public void OnDrag(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |
OnDrop(PointerEventData)
Called by a BaseInputModule on a target that can accept a drop.
Declaration
public void OnDrop(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |
OnEndDrag(PointerEventData)
Called by a BaseInputModule when a drag is ended.
Declaration
public void OnEndDrag(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |
OnPointerDown(PointerEventData)
Use this callback to detect pointer down events.
Declaration
public void OnPointerDown(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |