Пример #1
0
 private void Start()
 {
     vectorScore = gameManager.GetComponent <VectorScore>();
 }
Пример #2
0
 private void Start()
 {
     gameManager = GameObject.Find("GameManager");
     vectorScore = gameManager.GetComponent <VectorScore>();
     enemySpawn  = gameManager.GetComponent <EnemySpawn>();
 }
Пример #3
0
 void Start()
 {
     rb          = GetComponent <Rigidbody>();
     gameManager = GameObject.Find("GameManager");
     vectorScore = gameManager.GetComponent <VectorScore>();
 }