예제 #1
0
 void Start()
 {
     m_PlayerFaction  = PlayerFactionEnum.Bakasu;
     m_AIFaction      = PlayerFactionEnum.Yagra;
     m_AmountOfUnits  = 8;
     m_UnitPoolPlayer = new List <UnitStats>();
     m_UnitPoolAI     = new List <UnitStats>();
     GetAllUnitPrefabs();
 }
예제 #2
0
 public void SetPlayerFaction(PlayerFactionEnum playerFaction)
 {
     m_PlayerFaction = playerFaction;
 }
예제 #3
0
 void Start()
 {
     m_PlayerFaction = PlayerFactionEnum.Yagra;
     m_SpellPool     = GameObject.Find("_System").GetComponent <SpellPool>();
     m_SpellPool.SetSpells();
 }