CustomDataPlugin.SetCustomData
Declaration#
public void SetCustomData(string statId, string key, Object value)Parameters#
| Name | Description |
|---|---|
| statId | Id for stat holding data |
| key | Key of the data |
| value | Value 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); }
}