private void Start() { IsGameOver = false; _storage = GameObject.FindWithTag("CubesStorage").GetComponent <CubesStorage>(); _bitterController = GameObject.FindWithTag("BitterController").GetComponent <BitterController>(); _gameOverPanel = GameObject.Find("GameOverPanel").GetComponent <Animator>(); _winPanel = GameObject.Find("WinPanel").GetComponent <Animation>(); UpdateLists(); }
private void Start() { CubesStorage = GameObject.FindWithTag("CubesStorage").GetComponent <CubesStorage>(); }