Question by
EnergGames · Sep 13, 2016 at 07:36 AM ·
custom-inspectorgizmosicon
Custom inspector add icon
Hi everyone,
I've created a MonoBehaviour and I'm building a custom inspector for it. I would like that this Component, when added to a gameObject, will show an icon instead of that default piece of paper with "c#" written on it. I've already tried to put the icon within the Gizmos folder with the same name of the MonoB plus " icon", but it didn't work. Then I tried setting the icon using the dropdown arrow on the top-left inspector image when you select the asset in the project view. It did work, but it also added the icon to the scene view, like the camera does. I just want the icon to be shown on the inspector tab, how can I do it?
Thank you all in advance, have a good day!
Comment