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