void Start() { stateManager = GetComponent <StateManager> (); adMnan = GetComponent <AdMan> (); gameStats = GetComponent <GameStats> (); menuManager = GetComponent <MenuManager> (); lanePlacer = GameObject.Find("PROCEDURAL").GetComponent <LanePlacer> (); gameCamera = Camera.main.GetComponent <GameCamera> (); // if(isFirstGame){ // menuManager.SwitchMenu(MenuManager.MenuTypes.PreGame); // } }
void Start() { stateManager = GetComponent<StateManager> (); adMnan = GetComponent<AdMan> (); gameStats = GetComponent<GameStats> (); menuManager = GetComponent<MenuManager> (); lanePlacer = GameObject.Find ("PROCEDURAL").GetComponent<LanePlacer> (); gameCamera = Camera.main.GetComponent<GameCamera> (); // if(isFirstGame){ // menuManager.SwitchMenu(MenuManager.MenuTypes.PreGame); // } }