Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Custom ClipInspector with VisualElement ?

Discussion in 'UIElements' started by Goooooooogle, Jul 18, 2019.

  1. Goooooooogle

    Goooooooogle

    Joined:
    Sep 30, 2016
    Posts:
    6
    Hi,

    I am trying to create a custom editor for my special PlayableAsset class (timeline clip) but I haven't been able to make the element show up in the inspector when the clip is picked. Is this currently possible at all? Seems that UnityEditor.Timeline.ClipInspector by default calls OnInspectorGUI() to draw custom inspectors and CreateInspectorGUI is ignored.

    Thanks
     
  2. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    88
    Hello,

    It seems like this should work. Which Unity version are you using ?
     
  3. Goooooooogle

    Goooooooogle

    Joined:
    Sep 30, 2016
    Posts:
    6
    I am using 2019.1.5
     
  4. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    88
    Can you report a bug please?
     
  5. Goooooooogle

    Goooooooogle

    Joined:
    Sep 30, 2016
    Posts:
    6
    Just did. (Case 1171296)