Ejemplo n.º 1
0
 /// <summary>
 /// Adds a member to the party.
 /// </summary>
 /// <param name="partyMember">The character to add to the player party. </param>
 public void Add(StratusCharacterScriptable character)
 {
     members.Add(new PartyMember(character));
     if (debug)
     {
         StratusDebug.Log(character.name + " has joined the party!");
     }
 }
Ejemplo n.º 2
0
 public PartyMember(StratusCharacterScriptable character)
 {
     // Instantiate a copy of the character for progression?
     this.character = ScriptableObject.Instantiate(character);
 }