Esempio n. 1
0
 private void OnEnable()
 {
     scoreCanvas = GameObject.FindGameObjectWithTag("Score");
     scoreScript = scoreCanvas.GetComponent <ScoreBoard>();
     statScript  = GameObject.FindGameObjectWithTag("PlaneStat").GetComponent <PlaneStatus>();
 }