Exemplo n.º 1
0
 public void Init(Level level, ChallengeGoal goal)
 {
     this.level = level;
     this.goal  = goal;
 }
 public void ReachedGoal(ChallengeGoal goal)
 {
     Completed = true;
     _playerController.ReachedGoal(this);
 }
Exemplo n.º 3
0
 public void EndDisplay(float score, int rank, ChallengeGoal goal)
 {
     rankDisplay.SetRank(rank);
     scoreDisplay.text = goal.FormatSuccess(score);
 }