예제 #1
0
    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();
    }
예제 #2
0
 private void Start()
 {
     CubesStorage = GameObject.FindWithTag("CubesStorage").GetComponent <CubesStorage>();
 }