Skip to main content
1 of 2
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.

some1 here
  • 435
  • 4
  • 8
  • 24