Skip to main content

CustomDataPlugin.GetCustomData

Declaration#

public T GetCustomData(string statId, string key)

Parameters#

NameDescription
statIdId for stat holding data
keyKey of the data

Description#

Gets custom data associated with stat & key

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(CustomDataPlugin target)    {        bool result = target.GetCustomData<bool>("health", "boolData");    }
}