Hi,
I want to Add a small button to all my public variables in default GUI , how can I do That
Thanks.
Hi,
I want to Add a small button to all my public variables in default GUI , how can I do That
Thanks.
Hi,
I’ve attached a very basic extension for you to see how it’s done.
Import the package and put the prefab into the scene and you’ll see the Inspector has buttons next to the 2 public values.
Now look at the 2 scripts in the folder to see how it’s done.
It’s taken me a while to get my head around it but the more you play with it gets a lot easier to understand.
Good luck
Hi,
Thank you for the package , but is there a solution that I can apply this modification to all available scripts in the project ?
Regards,
yes its called ctrl+c then ctrl+v
Hi,
No, these is not a good solution, what I want to do is some sort of plugin that modify all the scripts inspectors, No need to specify all classes.
thanks,
No each class will have to have it’s own Editor Script.
You can add unrelated properties to the editor script from another class if you reference it.
What are you trying to accomplish?