PixelCrushers.DialogueSystem.UniqueIDWindowPrefs Class Reference

This class manages the Unique ID Window prefs. More...

Public Member Functions

 UniqueIDWindowPrefs ()
 
void Clear ()
 Clears the prefs. More...
 
void Save ()
 Save the prefs to EditorPrefs. More...
 
string ToXml ()
 Returns the prefs in XML format. More...
 

Static Public Member Functions

static void DeleteEditorPrefs ()
 Deletes the prefs from EditorPrefs. More...
 
static UniqueIDWindowPrefs Load ()
 Load the prefs from EditorPrefs. More...
 
static UniqueIDWindowPrefs FromXml (string xml)
 Loads the prefs from XML. More...
 

Public Attributes

List< DialogueDatabasedatabases = new List<DialogueDatabase>()
 

Detailed Description

This class manages the Unique ID Window prefs.

It allows the window to save prefs to EditorPrefs between sessions.

Constructor & Destructor Documentation

◆ UniqueIDWindowPrefs()

PixelCrushers.DialogueSystem.UniqueIDWindowPrefs.UniqueIDWindowPrefs ( )

Member Function Documentation

◆ Clear()

void PixelCrushers.DialogueSystem.UniqueIDWindowPrefs.Clear ( )

Clears the prefs.

◆ DeleteEditorPrefs()

static void PixelCrushers.DialogueSystem.UniqueIDWindowPrefs.DeleteEditorPrefs ( )
static

Deletes the prefs from EditorPrefs.

◆ FromXml()

static UniqueIDWindowPrefs PixelCrushers.DialogueSystem.UniqueIDWindowPrefs.FromXml ( string  xml)
static

Loads the prefs from XML.

Returns
The prefs.
Parameters
xmlXML.

◆ Load()

static UniqueIDWindowPrefs PixelCrushers.DialogueSystem.UniqueIDWindowPrefs.Load ( )
static

Load the prefs from EditorPrefs.

◆ Save()

void PixelCrushers.DialogueSystem.UniqueIDWindowPrefs.Save ( )

Save the prefs to EditorPrefs.

◆ ToXml()

string PixelCrushers.DialogueSystem.UniqueIDWindowPrefs.ToXml ( )

Returns the prefs in XML format.

Returns
The xml.

Member Data Documentation

◆ databases

List<DialogueDatabase> PixelCrushers.DialogueSystem.UniqueIDWindowPrefs.databases = new List<DialogueDatabase>()

The documentation for this class was generated from the following file: