Пример #1
0
 void CreatePlayer()
 {
     player = Instantiate(playerPrefab, GetPlayerSpawnPoint(), Quaternion.identity);
     bonusSpawnerScript.SetTarget(player);
 }