PlayerCharacterStats.RemovePerk
Declaration#
public virtual void RemovePerk(GDTKPerk perk)Parameters#
| Name | Description |
|---|---|
| perk | Perk 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); }
}