Exemplo n.º 1
0
 public void OnAddReaction(Character character)
 {
     charactersDict.Add(character, Instantiate(characterPrefab, charactersLocation));
     charactersDict[character].GetComponent <CharacterCustomization>().CustomizeCharacter(character);
 }
Exemplo n.º 2
0
 public void OnRemoveReaction(Character character)
 {
     Destroy(charactersDict[character].gameObject);
     charactersDict.Remove(character);
 }