Hi guys.
I’m writing a custom inspector that overrides the default transform component inspector. It displays the components attached to the game object. I was wondering if anyone has come across a way to access Unity’s built-in component 16x16 icons that displays next to the components name shown in the inspector? Ie, the C#, Js, rigidbody, collider, etc icons. Is there a way to access these internally, or, if that’s not possible, can I locate them anywhere from the Unity installation?
Thanks for your time,
EDIT AGAIN: If you open a meta file from a script it will display what is the icon. Problem it is an information that you cannot really use as it looks like this: