Adventure Creator  1.71.0
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2019
AC.SingleLevelData Class Reference

Public Member Functions

 SingleLevelData ()
 
bool DataMatchesScene (SingleLevelData otherLevelData)
 Checks if a given SingleLevelData class instance matches this own instance's intended scene More...
 
void RemoveDataForID (int id)
 Removes all save data related to an object with a given Constant ID More...
 
void ShowGUI ()
 

Public Attributes

List< ScriptDataallScriptData
 
List< TransformDataallTransformData
 
int sceneNumber
 
int navMesh
 
int playerStart
 
int sortingMap
 
int tintMap
 
int onLoadCutscene
 
int onStartCutscene
 
string activeLists
 
string localVariablesData
 

Detailed Description

A data container for a single scene's save data. Used by the LevelStorage component.

Constructor & Destructor Documentation

◆ SingleLevelData()

AC.SingleLevelData.SingleLevelData ( )

The default Constructor.

Member Function Documentation

◆ DataMatchesScene()

bool AC.SingleLevelData.DataMatchesScene ( SingleLevelData  otherLevelData)

Checks if a given SingleLevelData class instance matches this own instance's intended scene

Parameters
otherLevelDataThe other class instance to check
Returns
True if the two instances match the same scene

◆ RemoveDataForID()

void AC.SingleLevelData.RemoveDataForID ( int  id)

Removes all save data related to an object with a given Constant ID

Parameters
idThe object's ConstantID value

Member Data Documentation

◆ activeLists

string AC.SingleLevelData.activeLists

Data regarding paused and skipping ActionLists

◆ allScriptData

List<ScriptData> AC.SingleLevelData.allScriptData

A List of all data recorded by the scene's Remember scripts

◆ allTransformData

List<TransformData> AC.SingleLevelData.allTransformData

A List of all data recorded by the scene's RememberTransform scripts

◆ localVariablesData

string AC.SingleLevelData.localVariablesData

The values of the scene's local Variables, combined into a single string

◆ navMesh

int AC.SingleLevelData.navMesh

The ConstantID number of the default NavMesh

◆ onLoadCutscene

int AC.SingleLevelData.onLoadCutscene

The ConstantID number of the "On load" Cutscene

◆ onStartCutscene

int AC.SingleLevelData.onStartCutscene

The ConstantID number of the "On start" Cutscene

◆ playerStart

int AC.SingleLevelData.playerStart

The ConstantID number of the default PlayerStart

◆ sceneNumber

int AC.SingleLevelData.sceneNumber

The scene number this data is for

◆ sortingMap

int AC.SingleLevelData.sortingMap

The ConstantID number of the scene's SortingMap

◆ tintMap

int AC.SingleLevelData.tintMap

The ConstantID number of the scene's TintMap