Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

TimelineClip/EditorClip/PlayableAsset Editor Override

Discussion in 'Timeline' started by TheHeftyCoder, Apr 5, 2021.

  1. TheHeftyCoder

    TheHeftyCoder

    Joined:
    Oct 29, 2016
    Posts:
    50
    Hello, I've been trying to make a custom editor for a PlayableAsset I'm using for a TimelineClip. Sadly, it doesn't work, as it's been defaulted to Unity's Editor. Specifically, I can't change the editor for EditorClip (which is what Unity is using for serializing TimelineClip), because it's protected and not available as a class. A workaround would be property drawers, since they work, but then I am unable to tell the Editor to render through UIElements, losing the inspector I made through that.

    Is there any workaround? Thanks in advance!
    [Unity Version 2020.2.7f1]
     
unityunity