I created my own UI image component that inherits from UnityEngine.UI.Image.
Now I want to create a CustomEditor for it, but first I’m trying to render the base UnityEngine.UI.Image inspector first. That’s what I did:
[UnityEditor.CustomEditor(typeof(MyImage), true)]
public class MyImageEditor : UnityEditor.Editor {}
I’m adding nothing to it. Nevertheless, it doesn’t get rendered properly. For example, the conditionals on Type don’t work: I’ve selected Simple for Type, but Fill Amount and other fields from Type = Filled get rendered.