implements ICursorDraggable
0x00x0118
Members 44
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | interactionCollider | Collider | Private | — | |
| 0x08 | cam | Camera | Private | — | |
| 0x01 | autoResolveByTag | bool | Private | — | |
| 0x0031 | 0x07 | padding / unreflected | |||
| 0x08 | raycastCameraTag | string | Private | — | |
| 0x08 | virtualCursorTag | string | Private | — | |
| 0x08 | clipboardSurfaceTag | string | Private | — | |
| 0x08 | mapSurfaceTag | string | Private | — | |
| 0x08 | virtualCursor | VirtualCursor | Private | — | |
| 0x08 | clipboardSurface | BoundedDragSurface3D | Private | — | |
| 0x08 | mapSurface | BoundedDragSurface3D | Private | — | |
| 0x04 | dragAnchorMode | DragAnchorMode | Private | — | |
| 0x04 | dragLift | float | Private | — | |
| 0x01 | useSurfaceDefaultLift | bool | Private | — | |
| 0x0079 | 0x03 | padding / unreflected | |||
| 0x04 | dragFollowSpeed | float | Private | — | |
| 0x01 | clampToSurfaceBounds | bool | Private | — | |
| 0x01 | useRandomLiftOffset | bool | Private | — | |
| 0x0082 | 0x02 | padding / unreflected | |||
| 0x04 | randomLiftMin | float | Private | — | |
| 0x04 | randomLiftMax | float | Private | — | |
| 0x01 | resampleRandomLiftEachDrag | bool | Private | — | |
| 0x01 | matchSurfaceRotation | bool | Private | — | |
| 0x01 | smoothSurfaceRotation | bool | Private | — | |
| 0x008F | 0x01 | padding / unreflected | |||
| 0x04 | surfaceRotationLerpSpeed | float | Private | — | |
| 0x01 | enableSurfaceHandoff | bool | Private | — | |
| 0x0095 | 0x03 | padding / unreflected | |||
| 0x04 | exitClipboardMarginPixels | float | Private | — | |
| 0x04 | raycastMaxDistance | float | Private | — | |
| 0x04 | handoffCooldownSeconds | float | Private | — | |
| 0x01 | preferCloserSurfaceOnOverlap | bool | Private | — | |
| 0x01 | useSurfaceScaleMultiplier | bool | Private | — | |
| 0x01 | smoothSurfaceScale | bool | Private | — | |
| 0x00A7 | 0x01 | padding / unreflected | |||
| 0x04 | surfaceScaleTransitionDuration | float | Private | — | |
| 0x00AC | 0x04 | padding / unreflected | |||
| 0x08 | onDragStartedUnityEvent | UnityEvent | Private | — | |
| 0x08 | onDragEndedUnityEvent | UnityEvent | Private | — | |
| 0x01 | debug | bool | Private | — | |
| 0x00C1 | 0x07 | padding / unreflected | |||
| 0x08 | DragStarted | Action | Private | — | |
| 0x08 | DragEnded | Action | Private | — | |
| 0x01 | _dragging | bool | Private | — | |
| 0x01 | _externallyControlled | bool | Private | — | |
| 0x00DA | 0x02 | padding / unreflected | |||
| 0x04 | _currentSurface | HomeSurface | Private | — | |
| 0x10 | _activePlane | Plane | Private | — | |
| 0x04 | _handoffCooldownRemaining | float | Private | — | |
| 0x0C | _baseLocalScale | Vector3 | Private | — | |
| 0x08 | _surfaceScaleRoutine | Coroutine | Private | — | |
| 0x0C | _grabOffsetWorld | Vector3 | Private | — | |
| 0x04 | _randomLiftOffset | float | 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 35
| 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 StartDragInternal(const Vector2& pressScreenPos) | Private | 0x08 | |
| void UpdateDrag(const Vector2& screenPos) | Private | 0x08 | |
| void EndDragInternal() | Private | 0x00 | |
| void ApplyRestingLiftOnly(BoundedDragSurface3D surf) | Private | 0x08 | |
| Vector3 ProjectPointOnPlane(const Vector3& point, const Vector3& planeNormal, const Vector3& planePoint) | PrivateStatic | 0x0C | |
| void SampleRandomLiftOffsetIfNeeded(bool force) | Private | 0x01 | |
| float ResolveLift(BoundedDragSurface3D surf) | Private | 0x08 | |
| void CaptureGrabOffsetIfNeeded(BoundedDragSurface3D surf, const Vector2& screenPos) | Private | 0x08 | |
| void PlaceAccordingToAnchorMode(BoundedDragSurface3D surf, const Vector2& screenPos, bool snap) | Private | 0x08 | |
| void PlaceWithPreservedGrabOffset(BoundedDragSurface3D surf, const Vector2& screenPos, bool snap) | Private | 0x08 | |
| void ForcePlacePivotUnderCursor(BoundedDragSurface3D surf, const Vector2& screenPos, bool snap) | Private | 0x08 | |
| void TrySurfaceHandoff(const Vector2& screenPos) | Private | 0x08 | |
| void HandoffTo(const HomeSurface& newSurface, const Vector2& screenPos, const string& reason) | Private | 0x08 | |
| HomeSurface ChooseSurfaceFromPointer(const Vector2& screenPos) | Private | 0x08 | |
| void ApplySurfaceRotation(BoundedDragSurface3D surface, bool smooth) | Private | 0x08 | |
| void ApplySurfaceScale(BoundedDragSurface3D surface, bool smooth) | Private | 0x08 | |
| IEnumerator LerpLocalScaleRoutine(const Vector3& from, const Vector3& to, float duration) | Private | 0x0C | |
| Vector2 GetPointerScreenPosition() | Private | 0x08 | |
| bool ResolveReferencesByTag(bool logWarnings) | Private | 0x01 | |
| BoundedDragSurface3D GetSurface(const HomeSurface& s) | Private | 0x08 | |
| bool IsScreenPosInsideSurfaceScreenRect(BoundedDragSurface3D surface, const Vector2& screenPos, float marginPixels) | Private | 0x08 | |
| void StopAllLocalCoroutines() | Private | 0x00 | |
| float SmoothStep01(float t) | PrivateStatic | 0x04 | |
| void .ctor() | Public+1 flags | 0x00 |