public void Awake()
 {
     managerScript = FindObjectOfType <Manager>();
     buttonScript  = FindObjectOfType <ButtonManager>();
     timerScript   = FindObjectOfType <TimerCreation>();
     scoreScript   = FindObjectOfType <Score>();
 }
Пример #2
0
 public void Awake()
 {
     livesScript      = FindObjectOfType <PlayerLives>();
     scoreScript      = FindObjectOfType <Score>();
     processingScript = FindObjectOfType <PostProcesssorController>();
     timerScriprt     = FindObjectOfType <TimerCreation>();
 }