UnityToolbox
Brief documentation for all existing scripts.
 
Loading...
Searching...
No Matches
PlayerPrefKeys Class Reference

A collection of keys that can be used across projects. A keyword should be defined, which is added to the default key. See GetPrefereceKey.

Inheritance diagram for PlayerPrefKeys:
Module

Public Member Functions

override void Awake ()
 
string GetPrefereceKey (string id)
 Combines a given player pref key with the project keyword set.
 
virtual void Awake ()
 

Static Public Attributes

static string JSON_CONTROLS = "JSON_CONTROLS"
 
static string MOUSE_SENSITIVITY = "MOUSE_SENSITIVITY"
 
static string EFFECTS_VOLUME = "EFFECTS_VOLUME"
 
static string MUSIC_VOLUME = "MUSIC_VOLUME"
 
static string AMBIENCE_VOLUME = "AMBIENCE_VOLUME"
 
static string LANGUAGE = "LANGUAGE"
 
static string GAMEPLAY_SAVEGAME = "GAMEPLAY_SAVEGAME"
 
static string GAMEPLAY_STATE = "GAMEPLAY_STATE"
 
static string IDS = "IDS"
 
static string DEBUG_ORIGINAL_SCENE = "DEBUG_ORIGINAL_SCNENE"
 

Member Function Documentation

◆ Awake()

override void PlayerPrefKeys.Awake ( )
virtual

Reimplemented from Module.

◆ GetPrefereceKey()

string PlayerPrefKeys.GetPrefereceKey ( string  id)
Parameters
id
Returns
The combined player pref key, that can be used for the PlayerPrefs.

Member Data Documentation

◆ AMBIENCE_VOLUME

string PlayerPrefKeys.AMBIENCE_VOLUME = "AMBIENCE_VOLUME"
static

◆ DEBUG_ORIGINAL_SCENE

string PlayerPrefKeys.DEBUG_ORIGINAL_SCENE = "DEBUG_ORIGINAL_SCNENE"
static

◆ EFFECTS_VOLUME

string PlayerPrefKeys.EFFECTS_VOLUME = "EFFECTS_VOLUME"
static

◆ GAMEPLAY_SAVEGAME

string PlayerPrefKeys.GAMEPLAY_SAVEGAME = "GAMEPLAY_SAVEGAME"
static

◆ GAMEPLAY_STATE

string PlayerPrefKeys.GAMEPLAY_STATE = "GAMEPLAY_STATE"
static

◆ IDS

string PlayerPrefKeys.IDS = "IDS"
static

◆ JSON_CONTROLS

string PlayerPrefKeys.JSON_CONTROLS = "JSON_CONTROLS"
static

◆ LANGUAGE

string PlayerPrefKeys.LANGUAGE = "LANGUAGE"
static

◆ MOUSE_SENSITIVITY

string PlayerPrefKeys.MOUSE_SENSITIVITY = "MOUSE_SENSITIVITY"
static

◆ MUSIC_VOLUME

string PlayerPrefKeys.MUSIC_VOLUME = "MUSIC_VOLUME"
static