/// <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!"); } }
public PartyMember(StratusCharacterScriptable character) { // Instantiate a copy of the character for progression? this.character = ScriptableObject.Instantiate(character); }