Unity Inspector Button

Please help, i need a button on the inspector like on the image7478785--919661--изображение_2021-09-07_211515.png

Super easy to do:

1 Like

If you need just a simple button to sit on the very end of the inspector like that, you can do this on your own, but you need to write a simple editor class -or- find a button attribute, there are a lot of examples all over the net.

but if you just need something super simple to test in the editor, use a bool variable, then reset it in OnValidate. that’s also mentioned in Kurt’s link.