StatsAndEffects.RemoveAttributesFromSource
Declaration#
public virtual void RemoveAttributesFromSource(IUniquelyIdentifiable source)Parameters#
| Name | Description |
|---|---|
| source | Source associated with request |
Description#
Remove all Attributes from a specified source
Usage#
Example
using NullSave.GDTK;using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(StatsAndEffects source) { IUniquelyIdentifiable uid = source.registeredSources[0]; source.RemoveAttributesFromSource(uid); }
}