Beispiel #1
0
 public override void OnSceneGUI()
 {
     if (EditorGUISettings.GetInstance().IsCustomSceneGUIEnabled())
     {
         base.OnSceneGUI();
     }
 }
Beispiel #2
0
 public void LayoutDrawUnwind()
 {
     LayoutDrawUnwind(
         EditorGUILayout.GetControlRect(true, element.GetFootprintHeight()),
         EditorGUISettings.GetInstance().GetInitialLayoutState()
         );
 }
Beispiel #3
0
 public override void OnInspectorGUI()
 {
     if (EditorGUISettings.GetInstance().IsCustomGUIEnabled())
     {
         base.OnInspectorGUI();
     }
     else
     {
         DrawDefaultInspector();
     }
 }