how-to editor icon?

hi all! i am super noob in scripting but curently learning it… i would like to create myself some editor icons for some scripts i am doin like a player spawner for exemple … i would like to drop prefabs without having to displaythe instance but at least a little looking at the camera icon like the one used for lights…

i dont know how and i digged quite a lot on the forum and cant get enything about it (nor i dont know the proper name:P)

thanks a lot guys!!

You’re probably looking for the OnDrawGizmos() function and the Gizmos class.

exactly!! hehe thx Jesse!