StatListUI.SetStatIdAndSource
Declaration#
public virtual void SetStatIdAndSource(BasicStats source, string id)Parameters#
| Name | Description |
|---|---|
| source | Source of Stats |
| id | Unused |
Description#
Sets the Stat Source and updates the UI.
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(StatListUI target, BasicStats source, string statId) { target.SetStatIdAndSource(source, statId); }
}