Next: , Previous: , Up: Serialization   [Contents][Index]


15.4 PlayerPrefs Save Game Manager

Component: PlayerPrefsSaveGameManager

Player Prefs Save Game Manager allows you to clear Player Prefs using an IMGUI window, or by sending a message.

Field of PlayerPrefsSaveGameManager: Rect guiArea

Normalized viewport rectangle indicating the percentages of screen space where the legacy GUI will appear, if used. Not suitable for mobile devices

Default value: new Rect(.01f, .01f, .5f, .5f)

Field of PlayerPrefsSaveGameManager: int windowID

Unique window identifier, must be different from all other windows in the game

Default value: 7849024

Field of PlayerPrefsSaveGameManager: bool showGui

Should we show the legacy Unity GUI? Not suitable for mobile devices

Default value: false

Available Messages

Message on PlayerPrefsSaveGameManager: ClearPrefs ()

DELETES ALL PLAYER PREFS, CANNOT BE UNDONE!

Message on PlayerPrefsSaveGameManager: OpenMenu ()

Open the Legacy Unity GUI

Message on PlayerPrefsSaveGameManager: CloseMenu ()

Close the Legacy Unity GUI

Message on PlayerPrefsSaveGameManager: ToggleMenu ()

Toggle the Legacy Unity GUI

Field of PlayerPrefsSaveGameManager: Rect guiArea

Normalized viewport rectangle indicating the percentages of screen space where the legacy GUI will appear, if used. Not suitable for mobile devices

Default value: new Rect(.01f, .01f, .5f, .5f)

Field of PlayerPrefsSaveGameManager: int windowID

Unique window identifier, must be different from all other windows in the game

Default value: 7849024

Field of PlayerPrefsSaveGameManager: bool showGui

Should we show the legacy Unity GUI? Not suitable for mobile devices

Default value: false

Available Messages

Message on PlayerPrefsSaveGameManager: ClearPrefs ()

DELETES ALL PLAYER PREFS, CANNOT BE UNDONE!

Message on PlayerPrefsSaveGameManager: OpenMenu ()

Open the Legacy Unity GUI

Message on PlayerPrefsSaveGameManager: CloseMenu ()

Close the Legacy Unity GUI

Message on PlayerPrefsSaveGameManager: ToggleMenu ()

Toggle the Legacy Unity GUI


Next: , Previous: , Up: Serialization   [Contents][Index]