CustomEditor.CustomEditor Manual     Reference     Scripting  
Scripting > Editor Classes > CustomEditor
CustomEditor.CustomEditor

static function CustomEditor (inspectedType : System.Type) : CustomEditor

Description

Defines which object type the custom editor class can edit.

See Also: Editor class.

@CustomEditor(MyPlayer)
class MyPlayerEditor extends Editor {
// See the documentation for the Editor class for the full example
}