unity-game-engineeditorinspector

Override a component inspector title bar in unity


Is there a way to override what is displayed in the Unity Inspector title bar? enter image description here


Solution

  • AddComponentMenu will override the name:

    [AddComponentMenu("My Componet Name")]
    public class MyComponetName : MonoBehaviour
    {
    .....
    }