예제 #1
0
 public void BeginFirstPhase()
 {
     Debug.Log("Beginning first phase", gameObject);
     mainObstacleSpawner.BeginSpawningObstacles();
     mainPowerupSpawner.BeginSpawningPowerups();
     mainLineController.GivePlayerControl();
     isProgressing = true;
     curPhaseDist  = phase1Dist;
     distLastFrame = mainLine.transform.position.x;
     curCheckpoint = 0;
     curPhase      = 1;
     HUDCanvas.SetActive(true);
     dialogueCanvas.SetActive(false);
 }