- Home /
Question by
xfudox · Jun 30, 2017 at 10:27 PM ·
inspectorimagecomponentsextend
Extend default image script to add feature?
I would like to extend the default image script to add a simple feature: enable/disable the image changing the default color to a "disabled" one.
I made my MyImage script extendind the default Image one, but when i add public variables those doesn't show in the inspector: i would like to add a boolean to enable/disable the image from the inspector to check the result etc.
How can i do this? Is it possible?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612125244im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
inspector panel blank 0 Answers
png file's inspector is blank! 0 Answers
Change position using custom and native editor 1 Answer