Skip to main content

PlayerCharacterStats.RemovePerkFromSource

Declaration#

public virtual void RemovePerkFromSource(IUniquelyIdentifiable source)

Parameters#

NameDescription
sourceSource associated with request

Description#

Remove all Perks from a specific source

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(PlayerCharacterStats source)    {        // Remove all Perks with no source provided        source.RemovePerkFromSource(null);    }
}