I am trying to add functionality to custom editor that is from a package.
So i wrote my own customeditor that is inheriting the custom editor from the package.
How do i force the custom editor to use mine inherited one, instead of the base one?
bump…
bump [15 char]
So you’re using MonoBehaviour A from the package, you have custom editor class AEditor.
You can make a class AExtended : A
public class AExtended : A
then make a custom editor class AExtendedEditor for AExtended
[CustomEditor(typeof(AExtended))]
public class AExtendedEditor : AEditor
then you replace the component A in your GameObject with the new component AExtended.