Skip to main content
added 53 characters in body; edited title
Source Link
some1 here
  • 435
  • 4
  • 8
  • 24

How can I modify the GUI of a default Animation window in Unity window?

How can I modify the GUI of a default Animation window in Unity window?

E.g. I am trying to modify the Animation window. Here is what I am trying to do for the beginning:

using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(Animation))]
public class AnimationExtended : Editor
{
    public override void OnInspectorGUI()
    {
        
    }
}

I would expect the code above to hide the content of the AnimationAnimation window completely, but it does not. Why?

Here is what I mean by the Animation window. enter image description here

Question which made me want to add a custom feature to the Animation tab.

How can I modify the default Animation window in Unity?

How can I modify the default Animation window in Unity?

Here is what I am trying to do for the beginning:

using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(Animation))]
public class AnimationExtended : Editor
{
    public override void OnInspectorGUI()
    {
        
    }
}

I would expect the code above to hide the content of the Animation window completely, but it does not. Why?

Question which made me want to add a custom feature to the Animation tab.

How can I modify the GUI of a default Unity window?

How can I modify the GUI of a default Unity window?

E.g. I am trying to modify the Animation window. Here is what I am trying to do for the beginning:

using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(Animation))]
public class AnimationExtended : Editor
{
    public override void OnInspectorGUI()
    {
        
    }
}

I would expect the code above to hide the content of the Animation window completely, but it does not. Why?

Here is what I mean by the Animation window. enter image description here

Question which made me want to add a custom feature to the Animation tab.

Source Link
some1 here
  • 435
  • 4
  • 8
  • 24

How can I modify the default Animation window in Unity?

How can I modify the default Animation window in Unity?

Here is what I am trying to do for the beginning:

using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(Animation))]
public class AnimationExtended : Editor
{
    public override void OnInspectorGUI()
    {
        
    }
}

I would expect the code above to hide the content of the Animation window completely, but it does not. Why?

Question which made me want to add a custom feature to the Animation tab.