Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
OptionsData () | |
OptionsData (int _ID) | |
OptionsData (int _language, int _voiceLanguage, bool _showSubtitles, float _sfxVolume, float _musicVolume, float _speechVolume, int _ID) | |
OptionsData (OptionsData _optionsData, int _ID) | |
void | SetPreviousSaveIDs (List< int > saveIDs) |
List< int > | GetPreviousSaveIDs () |
Public Attributes | |
int | language |
int | voiceLanguage |
bool | showSubtitles |
float | sfxVolume |
float | musicVolume |
float | speechVolume |
string | linkedVariables = "" |
string | saveFileNames = "" |
int | lastSaveID = -1 |
string | previousSaveIDs = "" |
string | label |
int | ID |
A data container for all variables stored as Options data, and those associated with player profiles and save game filenames.
AC.OptionsData.OptionsData | ( | ) |
The default Constructor.
AC.OptionsData.OptionsData | ( | int | _ID | ) |
A Constructor with default values, except the ProfileID, which is explicitly set.
AC.OptionsData.OptionsData | ( | int | _language, |
int | _voiceLanguage, | ||
bool | _showSubtitles, | ||
float | _sfxVolume, | ||
float | _musicVolume, | ||
float | _speechVolume, | ||
int | _ID | ||
) |
A Constructor in which the basic options values are explicitly set.
AC.OptionsData.OptionsData | ( | OptionsData | _optionsData, |
int | _ID | ||
) |
A Constructor in which the basic options values are copied from another instance of OptionsData.
int AC.OptionsData.ID |
A unique identifier
string AC.OptionsData.label |
The name of the profile associated with this instance
int AC.OptionsData.language |
The current language, represented by an index of languages in SpeechManager
int AC.OptionsData.lastSaveID = -1 |
A unique identifier of the last save game to be written
string AC.OptionsData.linkedVariables = "" |
float AC.OptionsData.musicVolume |
The current music volume (ranges from 0 to 1)
string AC.OptionsData.previousSaveIDs = "" |
An array of save IDs that were written to in order (except the last, which is recorded in lastSaveID)
string AC.OptionsData.saveFileNames = "" |
A condensed string representing the labels of all save game files
float AC.OptionsData.sfxVolume |
The current SFX volume (ranges from 0 to 1)
bool AC.OptionsData.showSubtitles |
True if subtitles are enabled
float AC.OptionsData.speechVolume |
The current speech volume (ranges from 0 to 1)
int AC.OptionsData.voiceLanguage |
The current voice language, represented by an index of languages in SpeechManager. Note that this will only be used if SpeechManager.separateVoiceAndTextLanguages = True