Пример #1
0
 public void OnAddReaction(Character character)
 {
     charactersDict.Add(character, Instantiate(characterPrefab, charactersLocation));
     charactersDict[character].GetComponent <CharacterCustomization>().CustomizeCharacter(character);
 }
Пример #2
0
 public void OnRemoveReaction(Character character)
 {
     Destroy(charactersDict[character].gameObject);
     charactersDict.Remove(character);
 }