DanielPaulSwan / TestEmperorPenguin

0 stars 0 forks source link

GameUI fails due to inherent error produced by GameManager #9

Closed DanielPaulSwan closed 6 years ago

DanielPaulSwan commented 6 years ago

Since the gameManager destroys objects some links are destroyed and unity has a hard time knowing what to do as a result.

To fix the gameUI needs to be removed from the GameManager and put in the Game scene only. From this a script that checks for the activity of the pause menu must be written since the canvas in the gamescene and the gamemanager will have conflict.

Version

To Reproduce Steps to reproduce the behavior:

  1. Simply transition from the main menu to in game.

Expected behavior That the ui of the penguins displays energy usage and win count.

Desktop System (please complete the following information):

DanielPaulSwan commented 6 years ago

No longer an issue, gameManager does not hold these objects, they are in the game scene now.