Manual     Reference     Scripting  
  
Scripting > Editor Classes > Editor   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • Editor
  • All Members
  • Variables
  • target
  • Functions
  • DrawDefaultInspector
  • OnInspectorGUI
  • Repaint
  • Messages Sent
  • OnSceneGUI
  • Inherited Variables
  • hideFlags
  • name
  • Inherited Functions
  • GetInstanceID
  • Inherited Messages Sent
  • OnDisable
  • OnEnable
  • Inherited Class Functions
  • CreateInstance
  • Destroy
  • DestroyImmediate
  • DontDestroyOnLoad
  • FindObjectOfType
  • FindObjectsOfType
  • Instantiate
  • operator !=
  • operator ==
  • operator bool

Editor.OnInspectorGUI  

function OnInspectorGUI () : void

Description

Implement this function to make a custom inspector.

Inside this function you can add your own custom GUI for the inspector of a specific object class.

See Also: DrawDefaultInspector