All Classes Namespaces Functions Variables Enumerations Enumerator Properties
plyGameEditor.LoadSaveProviderEdBase Class Reference

Base class for LoadSave Provider's editor. All LoadSave Providers should have an Editor class defined too, even if it will not render any custom options. More...

Inherited by plyGameEditor.LoadSaveProviderEd_PlayerPrefs.

Public Member Functions

virtual void OnGUI (EditorWindow ed, LoadSaveProviderBase data)
 Called when the options for the LoadSave provider should be drawn. This is optional and only needed if your LoadSave Provider has options/ settings to configure. More...
 

Detailed Description

Base class for LoadSave Provider's editor. All LoadSave Providers should have an Editor class defined too, even if it will not render any custom options.

The provider should use the LoadSaveProviderAttribute to define the def.meta data and information needed by plyGame.

Member Function Documentation

virtual void plyGameEditor.LoadSaveProviderEdBase.OnGUI ( EditorWindow  ed,
LoadSaveProviderBase  data 
)
virtual

Called when the options for the LoadSave provider should be drawn. This is optional and only needed if your LoadSave Provider has options/ settings to configure.

Parameters
edThe editor window onto which the GUI elements are drawn.
dataThe load save provider that should be updated with settings. Remember to call EditorUtility.SetDirty(data); to make sure changes are saved.