GlobalStats.globalStats
public GlobalStats globalStats { get; }Description#
Returns a reference to the Global Stats in the scene.
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(GlobalStats source) { if(source.globalStats != null) { Debug.Log("Global Stats: " + source.globalStats.stats.Count); } else { Debug.Log("No Global Stats present in scene"); } }
}