PlayerCharacterStats.RemoveAttribute
Declaration#
public virtual void RemoveAttribute(string id)Parameters#
| Name | Description |
|---|---|
| id | Id of Attribute to remove |
Description#
Remove an Attribute by id
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(PlayerCharacterStats source) { string id = source.database.attributes[0].info.id; source.RemoveAttribute(id); }
}