Exemple #1
0
 public override void OnInspectorGUI()
 {
     if (inspector != null)
     {
         GUI.enabled = true;
         inspector.OnInspectorGUI();
     }
     else if (target.GetType() != typeof(DefaultAsset))
     {
         base.OnInspectorGUI();
     }
 }
Exemple #2
0
 public override void OnInspectorGUI()
 {
     if (inspector != null)
     {
         GUI.enabled = true;
         inspector.OnInspectorGUI();
     }
     else
     {
         base.OnInspectorGUI();
     }
 }