Skip to main content

CustomDataPlugin.SetCustomData

Declaration#

public void SetCustomData(string statId, string key, Object value)

Parameters#

NameDescription
statIdId for stat holding data
keyKey of the data
valueValue to store

Description#

Sets custom data associated with stat & key

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(CustomDataPlugin target)    {        target.SetCustomData("health", "boolData", true);    }
}