ScriptInspectorUtility Class Reference

Description

Interop class between C++ & CLR that deals with custom inspectors.

Custom inspectors allow the developer to control exactly how certain types are displayed in the inspector window in the editor.

Inherits ScriptObject< ScriptInspectorUtility >.

Methods

 SCRIPT_OBJ (EDITOR_ASSEMBLY,"BansheeEditor","InspectorUtility")
 
- Methods inherited from ScriptObject< ScriptInspectorUtility >
 ScriptObject (MonoObject *instance)
 
void _clearManagedInstance ()
 Clears any managed instance references from the interop object. More...
 
void _restoreManagedInstance ()
 Allows persistent objects to restore their managed instances after assembly reload. More...
 
virtual MonoObject * _createManagedInstance (bool construct)
 Creates a new managed instance of the type wrapped by this interop object. More...
 
- Methods inherited from ScriptObjectBase
 ScriptObjectBase (MonoObject *instance)
 
MonoObject * getManagedInstance () const
 Gets the managed object this interop object represents. More...
 
virtual bool isPersistent () const
 Should the interop object persist through assembly reload. More...
 
virtual void _onManagedInstanceDeleted ()
 Called when the managed instance gets finalized by the CLR. More...
 
virtual ScriptObjectBackup beginRefresh ()
 Called before assembly reload starts to give the object a chance to back up its data. More...
 
virtual void endRefresh (const ScriptObjectBackup &data)
 Called after assembly reload starts to give the object a chance to restore the data backed up by the previous beginRefresh() call.
 

Static methods

static void startUp ()
 Hooks up domain reload callback. More...
 
static void shutDown ()
 Destroys domain reload callback. More...
 
- Static methods inherited from ScriptObject< ScriptInspectorUtility >
static ScriptInspectorUtilitytoNative (MonoObject *managedInstance)
 Converts a managed instance into a specific interop object. More...
 
static const ScriptMetagetMetaData ()
 Returns the meta-data containing class and method information for the managed type. More...
 
static void _initMetaData ()
 Initializes the meta-data containing class and method information for the managed type. More...
 

Method documentation

static void shutDown ( )
static

Destroys domain reload callback.

Must be called before library is unloaded.

static void startUp ( )
static

Hooks up domain reload callback.

Must be called on library load.