mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 16:23:11 +02:00
cosmetic fix
This commit is contained in:
parent
288e40e55e
commit
1c376a1da4
@ -10,14 +10,13 @@ public class SquadManager : MonoBehaviour
|
||||
Squad enemySquad;
|
||||
private void Awake()
|
||||
{
|
||||
enemySquad = Instantiate(squadPrefab).GetComponent<Squad>();
|
||||
enemySquad.gameObject.name = "Enemy Squad";
|
||||
enemySquad.transform.SetParent(transform);
|
||||
|
||||
playerSquad = Instantiate(squadPrefab).GetComponent<Squad>();
|
||||
playerSquad.gameObject.name = "Player Squad";
|
||||
playerSquad.transform.SetParent(transform);
|
||||
|
||||
enemySquad = Instantiate(squadPrefab).GetComponent<Squad>();
|
||||
enemySquad.gameObject.name = "Enemy Squad";
|
||||
enemySquad.transform.SetParent(transform);
|
||||
}
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user