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