implements ICursorDraggable
0x00x00D0
Members 25
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | cam | Camera | Public | — | |
| 0x08 | interactionCollider | Collider | Public | — | |
| 0x08 | boundsBox | BoxCollider | Public | — | |
| 0x08 | virtualCursor | VirtualCursor | Private | — | |
| 0x01 | autoFindVirtualCursor | bool | Private | — | |
| 0x0041 | 0x07 | padding / unreflected | |||
| 0x08 | virtualCursorTag | string | Private | — | |
| 0x04 | planeAxis | SurfaceAxis | Public | — | |
| 0x04 | dragLift | float | Public | — | |
| 0x04 | dragFollowSpeed | float | Public | — | |
| 0x04 | pullThresholdPixels | float | Public | — | |
| 0x01 | updateWhileDraggingOnCameraMotion | bool | Public | — | |
| 0x0061 | 0x03 | padding / unreflected | |||
| 0x04 | pickRayDistance | float | Public | — | |
| 0x01 | centerOriginOnCursorWhileDragging | bool | Public | — | |
| 0x01 | debug | bool | Public | — | |
| 0x01 | drawGizmos | bool | Public | — | |
| 0x006B | 0x01 | padding / unreflected | |||
| 0x10 | gizmoPlaneColor | Color | Public | — | |
| 0x01 | dragging | bool | Private | — | |
| 0x01 | _externallyControlled | bool | Private | — | |
| 0x007E | 0x02 | padding / unreflected | |||
| 0x0C | dragOffsetWorld | Vector3 | Private | — | |
| 0x08 | lastPointerPos | Vector2 | Private | — | |
| 0x10 | dragPlane | Plane | Private | — | |
| 0x0C | lastCamPos | Vector3 | Private | — | |
| 0x10 | lastCamRot | Quaternion | Private | — | |
| 0x08 | DragStarted | Action | Private | — | |
| 0x08 | DragEnded | Action | Private | — | |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 5
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | kInstanceID_None | int | PrivateStatic+1 flags | 8 |
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+2 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 22
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_IsDragging() | PublicFinal+3 flags | 0x01 | |
| void add_DragStarted(Action value) | PublicFinal+3 flags | 0x08 | |
| void remove_DragStarted(Action value) | PublicFinal+3 flags | 0x08 | |
| void add_DragEnded(Action value) | PublicFinal+3 flags | 0x08 | |
| void remove_DragEnded(Action value) | PublicFinal+3 flags | 0x08 | |
| void Awake() | Private | 0x00 | |
| void OnEnable() | Private | 0x00 | |
| void OnDisable() | Private | 0x00 | |
| void Update() | Private | 0x00 | |
| void BeginDragFromManager(Camera raycastCamera, const Vector2& screenPos) | Public | 0x08 | |
| void EndDragFromManager() | Public | 0x00 | |
| void SetVirtualCursor(VirtualCursor vc) | Public | 0x08 | |
| void StartDragInternal(const Vector3& hitPoint, const Vector2& pressScreenPos) | Private | 0x0C | |
| void UpdateDrag(const Vector2& screenPos) | Private | 0x08 | |
| void EndDragInternal() | Private | 0x00 | |
| Vector2 GetPointerScreenPosition() | Private | 0x08 | |
| bool TryResolveVirtualCursor(bool logWarnings) | Private | 0x01 | |
| Vector3 GetPlaneNormal() | Private | 0x0C | |
| Vector3 GetPlaneOriginPoint() | Private | 0x0C | |
| Vector3 ProjectPointOnPlane(const Vector3& point, const Vector3& planeNormal, const Vector3& planePoint) | PrivateStatic | 0x0C | |
| Vector3 ClampToBoundsPlane(const Vector3& worldPos) | Private | 0x0C | |
| void .ctor() | Public+1 flags | 0x00 |