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

TimelineClip/EditorClip/PlayableAsset Editor Override

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

  1. TheHeftyCoder

    TheHeftyCoder

    Joined:
    Oct 29, 2016
    Posts:
    91
    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]