Hi all,
I'm aware that we can change the inspector component or script icon by clicking the icon on the top left of the inspector panel and selecting the 'Other' option. What I would like to know is if it's possible for derived scripts to inherit these icons as well (so I don't have to change the icon for *every* derived script!)
So for eg, if I had a hierarchy of scripts: Animal -> Dog, Cat, and I change the inspector icon for my Animal script, Dog and Cat components will also display that icon. Is this possible, or is it possible to change in script? Even writing a little custom inspector for the classes to change it by script would be far less tedious than manually changing them all.
Thanks for your time!
↧