0x00x0178
Members 33
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | ObstacleMask | LayerMask | Public | — | |
| 0x04 | VisionRadius | float | Public | — | |
| 0x04 | VisionAngle | float | Public | — | |
| 0x04 | AngleOffset | float | Public | — | |
| 0x0C | Direction | Vector3 | Public | — | |
| 0x0C | EulerAngles | Vector3 | Public | — | |
| 0x01 | ShouldScanForTargets | bool | Public | — | |
| 0x0049 | 0x03 | padding / unreflected | |||
| 0x04 | TargetMask | LayerMask | Public | — | |
| 0x04 | ScanFrequencyInSeconds | float | Public | — | |
| 0x0054 | 0x04 | padding / unreflected | |||
| 0x08 | VisibleTargets | List<UnityEngine.Transform> | Public | — | |
| 0x01 | ShouldDrawMesh | bool | Public | — | |
| 0x0061 | 0x03 | padding / unreflected | |||
| 0x04 | MeshDensity | float | Public | — | |
| 0x04 | EdgePrecision | int | Public | — | |
| 0x04 | EdgeThreshold | float | Public | — | |
| 0x08 | VisionMeshFilter | MeshFilter | Public | — | |
| 0x08 | _visionMesh | Mesh | 1 flags | — | |
| 0x08 | _targetsWithinDistance | Collider2D[] | 1 flags | — | |
| 0x08 | _target | Transform | 1 flags | — | |
| 0x0C | _directionToTarget | Vector3 | 1 flags | — | |
| 0x04 | _distanceToTarget | float | 1 flags | — | |
| 0x04 | _lastScanTimestamp | float | 1 flags | — | |
| 0x24 | _scanForTargetsHit2D | RaycastHit2D | 1 flags | — | |
| 0x08 | _viewPoints | List<UnityEngine.Vector3> | 1 flags | — | |
| 0x18 | _oldViewCast | RaycastData | 1 flags | — | |
| 0x18 | _viewCast | RaycastData | 1 flags | — | |
| 0x08 | _vertices | Vector3[] | 1 flags | — | |
| 0x08 | _triangles | int[] | 1 flags | — | |
| 0x0C | _minPoint | Vector3 | 1 flags | — | |
| 0x0C | _maxPoint | Vector3 | 1 flags | — | |
| 0x0C | _direction | Vector3 | 1 flags | — | |
| 0x18 | _returnRaycastData | RaycastData | 1 flags | — | |
| 0x24 | _raycastAtAngleHit2D | RaycastHit2D | 1 flags | — | |
| 0x04 | _numberOfVerticesLastTime | int | 1 flags | — | |
| 0x0174 | 0x04 | unreflected bytes to end of MMConeOfVision2D | |||
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 8
| Signature | Flags | Native | Params |
|---|---|---|---|
| void Awake() | 3 flags | 0x00 | |
| void LateUpdate() | 3 flags | 0x00 | |
| void SetDirectionAndAngles(const Vector3& direction, const Vector3& eulerAngles) | Public+2 flags | 0x0C | |
| void ScanForTargets() | 3 flags | 0x00 | |
| void DrawMesh() | 3 flags | 0x00 | |
| MeshEdgePosition FindMeshEdgePosition(const RaycastData& minimumViewCast, const RaycastData& maximumViewCast) | Private | 0x18 | |
| RaycastData RaycastAtAngle(float angle) | Private | 0x18 | |
| void .ctor() | Public+1 flags | 0x00 |