Game scene includes a bunch of gameObjects which are needed for correct Battle playing.

Изображение выглядит как текст????Автоматически созданное описание

GameStart triggers scene loading and start essential class creating (GameEntity, BattleEntity, UnitEntity, UnitAiEntity and others)

BattleView handles Player or Ai input and change Battle state respectively

InteractableDetector check If there is any interactable gameObject under the mouse

MainCamera is nothing than camera which renders the game. However, it has Unity standard tag Main Camera

Ui is a gameObject with only a CanvasGroup component which is also a parent for Ui related gameObjects

EventSystem – gameObject which is needed for correct input handling in Unity input default pipeline

Session panel represents complete turn button and start Battle button (when Auto Start logic is disabled) and two information texts:

  1. CompleteTurn - the button to finish turn
  2. BattleStart -this button is appeared when AutoStart toggle is disabled
  3. Resources shows the amount of resources of the selected player
  4. TurnDurationPanel shows the amount of time remaining until the end of turn
  5. TurnPanel - number of the current turn
  6. StatusPanel - the status of the current game stage
  7. Tooltip shows info about unit and item when mouse is pointing such objects

Team Panel shows unit button numbers and selected unit avatar

Item panel shows all items for selected unit. 

DebugPanel shows debug information about current Battle. It is closed by default and can be opened by clicking Debug UI keycode

ClosePanel represents button which open MenuPanel

MenuPanel represents in-game menu. Black semitransparent background is a button. Click on this button closes MenuPanel.

  • Restart button restarts current level from the beginning
  • Save button saves current session to a file
  • Load button loads game state from a file
  • Menu button moves the game to Menu scene

Created with the Personal Edition of HelpNDoc: Experience the Power and Simplicity of HelpNDoc's User Interface