Skip to main content

GDTKStatValue.GetUninitializedValue

Declaration#

public Double GetUninitializedValue(StatSource statSource, StatSource global, StatSource other)

Parameters#

NameDescription
statSourceStat Source for this object
globalGlobal Stat Source
otherOther Stat Source

Description#

Get the value without initialization

Usage#

Example
using NullSave.GDTK;using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(GDTKStatValue target, StatSource owner)    {        double result = target.GetUninitializedValue(owner, ToolRegistry.GetComponent<GlobalStats>().source, null);    }

}