Пример #1
0
 void Start()
 {
     score  = score.GetComponent <Text>();
     player = player.GetComponent <playerMovement_>();
     pause  = pause.GetComponent <menuScriptInGame>();
 }
Пример #2
0
 void Start()
 {
     pause = pause.GetComponent <menuScriptInGame>();
     score = score.GetComponent <scoreCount>();
 }