class
InspectorUtility
Provides information about custom inspectors.
Custom inspectors allow the developer to control exactly how certain types are displayed in the inspector window in the editor.
Public
Constructors
InspectorUtility
Methods
~InspectorUtility
GetCustomInspector
Creates an inspector capable of displaying GUI elements for an object of the provided type.
- type
- Type of the object that will be displayed in the inspector.
Returns: Custom user defined inspector if it exists for the provided type, or the generic inspector.
GetCustomInspectableFieldType
Gets a custom InspectableField type for the specified type.
This only searches custom user defined implementations, not the built-in ones.
- type
- Type of the object to find an InspectableField for.
Returns: Implementation of InspectableField capable of display contents of the provided type, or null if one wasn't found.
staticInstance
Returns a reference to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticInstancePtr
Returns a pointer to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticShutDown
Shuts down this module and frees any resources it is using.
staticIsStarted
Query if the module has been started.
Protected
Methods
~Module<T>
OnStartUp
Override if you want your module to be notified once it has been constructed and started.
OnShutDown
Override if you want your module to be notified just before it is deleted.
staticInstanceInternal
Returns a singleton instance of this module.
Private
Methods
ReloadAssemblyData
Reloads all assembly types and attempts to find uses of CustomInspector attribute.
Old data cleared and replaced with new.