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