Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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.