Skip to main content

PlayerCharacterStats.GetSource

Declaration#

public virtual IUniquelyIdentifiable GetSource(string uniqueId)

Parameters#

NameDescription
uniqueIdId to find

Description#

Returns an Identifiable Source by id

Usage#

Example
using NullSave.GDTK;using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(PlayerCharacterStats source)    {        string id = "exampleInstance";        IUniquelyIdentifiable identifiableSource = source.GetSource(id);        source.RemoveAttributesFromSource(identifiableSource);    }
}