PlayerCharacterStats.RemovePerkFromSource
Declaration#
public virtual void RemovePerkFromSource(IUniquelyIdentifiable source)Parameters#
| Name | Description |
|---|---|
| source | Source 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); }
}