Ejemplo n.º 1
0
 // Start is called before the first frame update
 protected override void Start()
 {
     base.Start();
     instance = this;
 }
Ejemplo n.º 2
0
 private void Start()
 {
     currentStage       = Instantiate(stages[0]);
     curStageController = currentStage.GetComponent <StageController>();
     curStageController.gameWon.AddListener(NextStage);
 }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 protected override void Start()
 {
     base.Start();
     instance = this;
     StartCoroutine(EndStage(stageLength));
 }