Skip to main content

StatSource.GetSource

Declaration#

public virtual IUniquelyIdentifiable GetSource(string uniqueId)

Parameters#

NameDescription
uniqueIdId of the source

Description#

Get a source

Usage#

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