Ejemplo n.º 1
0
    public void LevelFinished()
    {
        levelGenerator   = GameObject.Find("LevelGenerator");
        levelGeneratorCS = levelGenerator.GetComponent <LevelGenerator>();

        levelGeneratorCS.CheckStageUpdate();

        isStarted = true;
    }
Ejemplo n.º 2
0
    public void LevelFinished()
    {
        // only called when next level is loaded
        // so needs some fixing here
        levelGeneratorCS = GameObject.FindObjectOfType <LevelGenerator>();

        levelGeneratorCS.CheckStageUpdate();

        levelClear = true;
    }