How I can apply them to public variables then showing in my script in a component in the Inspector?
I’d really like to only show some public variables if variables above have a certain value.
For instance, let’s say I have a public int ItemType (and let’s say 1 means weapon).
I might only want to show Weapon public variables in the inspector if ItemType = 1. I might also adjust how the Inspector displays the variables in that component based on bools etc.
So I really need a complete list as well of these attribtues.
Finally, how do I go about applying more than one Attribute to a public variable AND how do I go about applying say one Attribute to a whole clump of public variables?
Help…