DataSection.SetLong
Declaration#
public void SetLong(string name, Int64 value)Parameters#
| Name | Description |
|---|---|
| name | Key to set |
| value | Value to set |
Description#
Sets long value for a key
Usage#
Example
using NullSave.GDTK;using UnityEngine;
public class CodeSample : MonoBehaviour{
public void ExampleMethod() { // You can create your own DataSections to work with DataSection target = new DataSection();
// Values in a custom DataSection are never saved/loaded by the system // They can be saved/loaded manually target.SetLong("long", 654321); }
}