UI for the in-game map. More...
Public Member Functions | |
void | Awake () |
Validates the game state at startup. | |
void | Start () |
void | OnDrawGizmosSelected () |
override void | DrawUI () |
Public Attributes | |
MainGame | mainGame |
Link to the main game. | |
Texture | mapTexture |
Texture used as a backdrop for the map. | |
Texture | tokenTexture |
Texture for tokens on the map (colour blended). | |
Font | textFont |
Font used for small text. | |
Rect | onePlayerBounds |
Rect | twoPlayerBoundsVertical |
Rect | twoPlayerBoundsHorizontal |
Rect | threePlayerBounds |
Rect | fourPlayerBounds |
UI for the in-game map.
void MapUI.Awake | ( | ) |
Validates the game state at startup.
Link to the main game.
Texture MapUI.mapTexture |
Texture used as a backdrop for the map.
Racer icons are drawn on top positioned and scaled in relation to MainGame.mapBounds
Font MapUI.textFont |
Font used for small text.
Texture MapUI.tokenTexture |
Texture for tokens on the map (colour blended).