Search Unity

EditorWindow, how to display a texture in scene view

Discussion in 'Immediate Mode GUI (IMGUI)' started by FeastSC2, Jun 20, 2017.

  1. FeastSC2

    FeastSC2

    Joined:
    Sep 30, 2016
    Posts:
    978
    I want to display on the scene view how many lights affect my various gameObjects. I'm limited to 8 lights per object max.

    In order to do this I thought I could write the number with a texture on screen wherever the objects are. Is this something that I can do? I tried using GUI.Texture but I can't make it work.