StatSource.AddHotStat
Declaration#
public virtual void AddHotStat(GDTKStat stat)Parameters#
| Name | Description |
|---|---|
| stat | Stat to add |
Description#
Add a run-time stat
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(StatSource target) { GDTKStat stat = new GDTKStat("Hot Stat", "hotStat", "0", "27", "4"); target.AddHotStat(stat); }}