Adventure Creator  1.66.8
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2018
AC.ScriptData Struct Reference

Public Member Functions

 ScriptData (int _objectID, string _data)
 The default Constructor. More...
 

Public Attributes

int objectID
 
string data
 

Detailed Description

A data container for save data returned by each Remember script. Used by the SingleLevelData class.

Constructor & Destructor Documentation

◆ ScriptData()

AC.ScriptData.ScriptData ( int  _objectID,
string  _data 
)

The default Constructor.

Parameters
_objectIDThe Remember script's Constant ID number
_dataThe serialised data

Member Data Documentation

◆ data

string AC.ScriptData.data

The data returned by the Remember script, serialised into a string

◆ objectID

int AC.ScriptData.objectID

The Constant ID number of the Remember script component