Search Unity

DebugDrawing for components

Discussion in 'Project Tiny' started by banyango, Dec 19, 2018.

  1. banyango

    banyango

    Joined:
    Mar 31, 2014
    Posts:
    19
    Hey, is there anything where I could render some debug drawing code only in the editor for components?

    I'd like to render a box in the editor for a rect I have.
     
  2. martinpa_unity

    martinpa_unity

    Unity Technologies

    Joined:
    Oct 18, 2017
    Posts:
    105
    Hi, we do have that functionality internally, but we are not exposing it for the preview.

    The flow around bindings, custom editors and debug drawing will most likely change considerably after we support C# and UIElements.
     
unityunity