Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.TriggerInspector Class Reference

Custom editor for triggers. Draws a default inspector and then some warnings if settings look wrong. More...

Inheritance diagram for PlatformerPro.TriggerInspector:
PlatformerPro.PersistableObjectInspector PlatformerPro.PlatformerProMonoBehaviourInspector

Public Member Functions

override void OnInspectorGUI ()
 Draw the GUI More...
 
- Public Member Functions inherited from PlatformerPro.PersistableObjectInspector
override void OnInspectorGUI ()
 
- Public Member Functions inherited from PlatformerPro.PlatformerProMonoBehaviourInspector
override void OnInspectorGUI ()
 Draw the inspector. More...
 

Protected Member Functions

override void OnEnable ()
 Unity OnEnable hook. More...
 
- Protected Member Functions inherited from PlatformerPro.PersistableObjectInspector
virtual void DrawInspector ()
 
- Protected Member Functions inherited from PlatformerPro.PlatformerProMonoBehaviourInspector
virtual void DrawHeader (PlatformerProMonoBehaviour myTarget)
 Draws the header. More...
 
virtual void DrawFooter (PlatformerProMonoBehaviour myTarget)
 Draws the footer. More...
 

Protected Attributes

SerializedProperty useDefaultPersistence
 
- Protected Attributes inherited from PlatformerPro.PersistableObjectInspector
SerializedProperty enablePersistence
 
SerializedProperty guid
 
SerializedProperty targetGameObject
 
SerializedProperty persistenceImplementation
 
SerializedProperty defaultStateIsDisabled
 

Additional Inherited Members

- Static Public Member Functions inherited from PlatformerPro.PlatformerProMonoBehaviourInspector
static void DrawHeaderStatic (PlatformerProMonoBehaviour myTarget)
 
static void DrawHorizontalRule (bool fillWindow=false)
 
- Static Public Attributes inherited from PlatformerPro.PersistableObjectInspector
static Dictionary< string, PersistableObjectguidRegister = new Dictionary <string, PersistableObject> ()
 
- Static Public Attributes inherited from PlatformerPro.PlatformerProMonoBehaviourInspector
static Texture2D iconTexture
 Holds the platformer pro icon texture More...
 

Detailed Description

Custom editor for triggers. Draws a default inspector and then some warnings if settings look wrong.

Member Function Documentation

◆ OnEnable()

override void PlatformerPro.TriggerInspector.OnEnable ( )
protectedvirtual

Unity OnEnable hook.

Reimplemented from PlatformerPro.PersistableObjectInspector.

◆ OnInspectorGUI()

override void PlatformerPro.TriggerInspector.OnInspectorGUI ( )

Draw the GUI

Member Data Documentation

◆ useDefaultPersistence

SerializedProperty PlatformerPro.TriggerInspector.useDefaultPersistence
protected

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