Enable / Disable Custom scripts with a checkbox
Hello, im working for different scripts inside unity , but y see the unity script like the image, have a checkbox to enable or disable the component without the need of remove the component for debug purposes. I attached a image to get more clear my question. Is there a way to create this checkbox in my scripts components, or the only way is create editor scripts te get this functionality for all my scripts and recreate this with my own logic ? . Thanks for all
I think the checkbox there requires some kind of recurring function like Update() or OnGUI() to be used within the script.
Your answer
Follow this Question
Related Questions
Ladder Climb script unity 5 0 Answers
How can i get Input axis in OnGUI function? 0 Answers
Is there a way to open a script in the script editor (Mono or VS) from an Editor script? 0 Answers
VS 2015 VS 2013 Issue 0 Answers
Custom wind and assets? 0 Answers