How to change Component Icon shown?

Hi.

Is there a way to change the icon shown in a custom components title bar (instead of “js” or “c#” for example).

I’ve tried making an icon with the same name as the class and putting it into a Gizmos folder as I’ve read somewhere, but it doesn’t seem to work. Do I miss something?
Thanks

You can change the icon by selecting the object in Project view, click the icon in the upper left corner in Inspector and select “Other”. You can read more about it here.