PowerQuest 0.19.0
|
Settings that can be set by players in game.
Public Types | |
enum | eDialogDisplay { TextAndSpeech , SpeechOnly , TextOnly } |
Whether dialog's displayed, audio only, or both. More... | |
Properties | |
float | Volume [get, set] |
Gets/sets the master volume (0 to 1) | |
float | VolumeMusic [get, set] |
Gets/sets the music volume (0 to 1) | |
float | VolumeSFX [get, set] |
Gets/sets the sound effect volume (0 to 1) | |
float | VolumeDialog [get, set] |
Gets/sets the dialog volume (0 to 1) | |
float | TextSpeedMultiplier [get, set] |
Gets/Sets the speed of text in the game. | |
eDialogDisplay | DialogDisplay [get, set] |
Gets/sets the dialog display style (0 to 1) | |
CursorLockMode | LockCursor [get, set] |
Gets or sets whether the cursor is locked to the screen. Note, in editor it's always unlocked. | |
string | Language [get, set] |
Gets/Sets the current language by code. | |
LanguageData | LanguageData [get] |
Gets data for the currently selected language. | |
int | LanguageId [get, set] |
Gets/Sets the current language by id. | |
Public Member Functions | |
void | OnInitialise () |
Initialises the system (Called from inside PowerQuest) | |
void | OnPostRestore (int version) |
Initialises the system (Called from inside PowerQuest) | |
LanguageData[] | GetLanguages () |
Get's the current language. | |
Public Attributes | |
CursorLockMode | m_lockCursor = CursorLockMode.Confined |
enum eDialogDisplay |
Whether dialog's displayed, audio only, or both.
|
getset |
Gets/sets the master volume (0 to 1)
|
getset |
Gets/sets the music volume (0 to 1)
|
getset |
Gets/sets the sound effect volume (0 to 1)
|
getset |
Gets/sets the dialog volume (0 to 1)
|
getset |
Gets/Sets the speed of text in the game.
|
getset |
Gets/sets the dialog display style (0 to 1)
|
getset |
Gets or sets whether the cursor is locked to the screen. Note, in editor it's always unlocked.
|
getset |
Gets/Sets the current language by code.
|
get |
Gets data for the currently selected language.
|
getset |
Gets/Sets the current language by id.
|
inline |
Initialises the system (Called from inside PowerQuest)
|
inline |
Initialises the system (Called from inside PowerQuest)
|
inline |
Get's the current language.