BovineLabs.NaughtyAttributes.Editor.Editors.InspectorEditor.OnInspectorGUI C# (CSharp) Метод

OnInspectorGUI() публичный Метод

public OnInspectorGUI ( ) : void
Результат void
        public override void OnInspectorGUI()
        {
            this.serializedObject.Update();

            if (this.drawer != null)
            {
                if (this.script != null)
                {
                    GUI.enabled = false;
                    EditorGUILayout.PropertyField(this.script);
                    GUI.enabled = true;
                }

                this.drawer.OnInspectorGUI();
            }
            else
            {
                this.DrawDefaultInspector();
            }

            this.serializedObject.ApplyModifiedProperties();
        }