0x00x0110
Members 21
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | SIZE_X | int | PublicStatic+1 flags | 20 |
| — | 0x04 | SIZE_Y | int | PublicStatic+1 flags | 12 |
| 0x08 | TilePrefab | SnakeTile | Public | — | |
| 0x04 | TimePerTile | float | Public | — | |
| 0x008C | 0x04 | padding / unreflected | |||
| 0x08 | PlaySpace | RectTransform | Public | — | |
| 0x08 | Tiles | SnakeTile[] | Public | — | |
| 0x08 | ScoreText | TextMeshProUGUI | Public | — | |
| 0x08 | <HeadPosition>k__BackingField | Vector2 | Private | — | |
| 0x08 | <Tail>k__BackingField | List<UnityEngine.Vector2> | Private | — | |
| 0x08 | <LastTailPosition>k__BackingField | Vector2 | Private | — | |
| 0x08 | <Direction>k__BackingField | Vector2 | Private | — | |
| 0x08 | <QueuedDirection>k__BackingField | Vector2 | Private | — | |
| 0x08 | <NextDirection>k__BackingField | Vector2 | Private | — | |
| 0x08 | lastFoodPosition | Vector2 | Private | — | |
| 0x04 | <GameState>k__BackingField | EGameState | Private | — | |
| 0x04 | _timeSinceLastMove | float | Private | — | |
| 0x04 | _timeOnGameOver | float | Private | — | |
| 0x00EC | 0x04 | padding / unreflected | |||
| 0x08 | onStart | UnityEvent | Public | — | |
| 0x08 | onEat | UnityEvent | Public | — | |
| 0x08 | onGameOver | UnityEvent | Public | — | |
| 0x08 | onWin | UnityEvent | Public | — | |
Inherited from TVApp 16
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | SCALE_MIN | float | PublicStatic+1 flags | 1059816735 |
| — | 0x04 | SCALE_MAX | float | PublicStatic+1 flags | 1069547520 |
| — | 0x04 | LERP_TIME | float | PublicStatic+1 flags | 1039516303 |
| 0x01 | <IsOpen>k__BackingField | bool | Private | — | |
| 0x01 | CanClose | bool | Public | — | |
| 0x0022 | 0x06 | padding / unreflected | |||
| 0x08 | AppName | string | Public | — | |
| 0x08 | Icon | Sprite | Public | — | |
| 0x01 | Pauseable | bool | Public | — | |
| 0x0039 | 0x07 | padding / unreflected | |||
| 0x08 | Canvas | Canvas | Public | — | |
| 0x08 | PreviousScreen | TVApp | Public | — | |
| 0x08 | CanvasGroup | CanvasGroup | Public | — | |
| 0x08 | PauseScreen | TVPauseScreen | Public | — | |
| 0x08 | State | MonoState | Public | — | |
| 0x08 | lerpCoroutine | Coroutine | Private | — | |
| 0x08 | _uiScreen | UIScreen | Private | — | |
| 0x08 | _mainPanel | UIContentPanel | Private | — | |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 28
| Signature | Flags | Native | Params |
|---|---|---|---|
| Vector2 get_HeadPosition() | Public+1 flags | 0x08 | |
| void set_HeadPosition(const Vector2& value) | Private+1 flags | 0x08 | |
| List<UnityEngine.Vector2> get_Tail() | Public+1 flags | 0x08 | |
| void set_Tail(List<UnityEngine.Vector2> value) | Private+1 flags | 0x08 | |
| Vector2 get_LastTailPosition() | Public+1 flags | 0x08 | |
| void set_LastTailPosition(const Vector2& value) | Private+1 flags | 0x08 | |
| Vector2 get_Direction() | Public+1 flags | 0x08 | |
| void set_Direction(const Vector2& value) | Private+1 flags | 0x08 | |
| Vector2 get_QueuedDirection() | Public+1 flags | 0x08 | |
| void set_QueuedDirection(const Vector2& value) | Private+1 flags | 0x08 | |
| Vector2 get_NextDirection() | Public+1 flags | 0x08 | |
| void set_NextDirection(const Vector2& value) | Private+1 flags | 0x08 | |
| EGameState get_GameState() | Public+1 flags | 0x04 | |
| void set_GameState(const EGameState& value) | Private+1 flags | 0x04 | |
| void Awake() | 2 flags | 0x00 | |
| void Update() | Private | 0x00 | |
| void UpdateInput() | Private | 0x00 | |
| void UpdateMovement() | Private | 0x00 | |
| void MoveSnake() | Private | 0x00 | |
| SnakeTile GetTile(const Vector2& position) | Private | 0x08 | |
| void StartGame(const Vector2& initialDir) | Private | 0x08 | |
| void Eat() | Private | 0x00 | |
| void SpawnFood() | Private | 0x00 | |
| void GameOver() | Private | 0x00 | |
| void Win() | Private | 0x00 | |
| void TryPause() | 2 flags | 0x00 | |
| void CreateTiles() | Public | 0x00 | |
| void .ctor() | Public+1 flags | 0x00 |