예제 #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);
 }