Tower Defense Tutorial Fixing Scene Manager
Tower Defense Tutorial Fixing Scene Manager June 19, 2019 Tower Defense Tutorial Project Fixing Problems with the Scene Manager To help get back into the groove of working on my tower defense project, I went over some scripts that I thought might help fix problems and listed out how they reference each other. (Lower placed scripts reference the higher ones) Script Reference List PlayerStats LevelPlayerStats WaveSpawner WaveInformation LevelManager Then I got working on the problems with the scene manager and the method call timings between the different scenes that were giving me errors. There are a lot of issues when references trying to be called before variables are properly set in different scenes, and this offset is leading to a lot of errors where the checks are checking against default values like 0 and null as opposed to their properly set values. So once again, I made a list of problems as I encountered then and possible fixes I ...