PlayerCharacterStats.GetSource
Declaration#
public virtual IUniquelyIdentifiable GetSource(string uniqueId)Parameters#
| Name | Description |
|---|---|
| uniqueId | Id 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); }
}