Quantcast
Channel: Questions in topic: "scripteditor"
Viewing all articles
Browse latest Browse all 93

Enable / Disable Custom scripts with a checkbox

$
0
0
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![alt text][1] [1]: /storage/temp/66758-ii.png

Viewing all articles
Browse latest Browse all 93

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>