How to remove a specific field from the inspector and leave the rest unchanged?

Hi guys,

Im trying to extend the Button class in order to limit the onClick callback to a specific pre defined set of functions, which will be selected from a drop down in the inspector.

My Q: How to remove the onClick section from the inspector and leave the other Button properties the same?

Thanks!

You’ll need to create a CustomEditor and recreate the properties for the values you want to keep.