Ejemplo n.º 1
0
 private void AddAffix(AffixType affixType)
 {
     if (!AffixTypes.Contains(affixType))
     {
         AffixTypes.Add(affixType);
         Affix newAffix = GameObjectPoolManager.Instance.PoolDict[GameObjectPoolManager.PrefabNames.Affix].AllocateGameObject <Affix>(AffixContainer);
         newAffix.Initialize(affixType);
         Affixes.Add(newAffix);
     }
 }