Draw the built-in inspector.
// This example shows a custom inspector for an // object "MyPlayerEditor", which has two variables, speed and ammo. @CustomEditor(MyPlayerEditor) class MyPlayerEditor extends Editor { function OnInspectorGUI() { EditorGUILayout.LabelField ("Some help", "Some other text"); target.speed = EditorGUILayout.Slider ("Speed", target.speed, 0, 100); // Show default inspector property editor DrawDefaultInspector (); } }