Skip to main content

PlayerCharacterStats.RemovePerk

Declaration#

public virtual void RemovePerk(GDTKPerk perk)

Parameters#

NameDescription
perkPerk to remove

Description#

Remove a Perk from the object

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(PlayerCharacterStats source)    {        GDTKPerk perk = source.perks[0];        source.RemovePerk(perk);    }
}