public void StageComplete(StageController targetStage) { targetStage.CurrentLoop = false; targetStage.GetComponent <Rotator>().enabled = false; targetStage.GetComponentInChildren <Renderer>().material = LevelController.Instance.selectedMat; currentStageIndex++; StartCoroutine(FinishRotation(targetStage)); }