Quantcast
Channel: Questions in topic: "icon"
Viewing all articles
Browse latest Browse all 271

Custom inspector add icon

$
0
0
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!

Viewing all articles
Browse latest Browse all 271

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>