Beispiel #1
0
    public void addThree()
    {
        PartyManager p = FindObjectOfType <PartyManager>();

        p.Leave("LostBoy");
        p.AddToParty(GetComponent <OCStats>());
    }
Beispiel #2
0
    public void AddToParty(FighterData fighter)
    {
        if (currentParty == null)
        {
            currentParty = new Party();
        }

        PartyManager.AddToParty(fighter, currentParty);

        Save();
    }