Sequine - Scripting API
|
The container of Global Variables, which are basically Variables, except they can be accessed and shared globally, not limited to the scope of the Sequine Flow object. More...
Classes | |
class | DataContainer |
Static Public Member Functions | |
static SequineGlobalData | GetPersistent () |
static SequineGlobalData | GetTransient () |
static T | GetVariable< T > (int _id) |
Gets a global variable. More... | |
static bool | TryGetVariable< T > (int _id, out T _value) |
static void | SetVariable< T > (int _id, T _value) |
Sets a global variable. More... | |
static bool | TrySetVariable< T > (int _id, T _value) |
static byte[] | SerializeToBinary () |
Use this to create save data. More... | |
static void | DeserializeFromBinary (byte[] _bytes) |
Use this to load data. More... | |
Static Public Attributes | |
static SequineGlobalData | m_persistent |
Properties | |
Object | targetObject [get] |
Dictionary< int, CommandData.Variable > | variables [getset] |
Properties inherited from Calcatz.CookieCutter.IVariableUser | |
Dictionary< int, CommandData.Variable > | variables [getset] |
UnityEngine.Object | targetObject [get] |
The container of Global Variables, which are basically Variables, except they can be accessed and shared globally, not limited to the scope of the Sequine Flow object.
|
static |
Use this to load data.
_bytes |
|
static |
|
static |
|
static |
Gets a global variable.
T | The return type of the variable. |
_id | The integer Id of the variable. (This shows up beside the variable name in the Sequine Global Data window.) |
|
static |
Use this to create save data.
|
static |
Sets a global variable.
T | The type of the variable. |
_id | The integer Id of the variable. (This shows up beside the variable name in the Sequine Global Data window.) |
_value |
|
static |
|
static |
|
static |
|
get |
|
getset |