Our animators have asked to be able to color code clips in a timeline, is there a way to do this?
So far I’ve tried TrackColorAttribute on theTrackAsset, but they’d like per clip colors. I’ve also tried rich text formatting with the asset’s display name, but rich text doesn’t look its supported.
There’s no way to do that…yet.
LOL, thanks, not a major feature but would make for some designer smiles around here.
in 2019.2 you can use a ClipEditor to dynamically set the highlight color of a clip.
[CustomTimelineEditor(typeof(MyCustomClip))]
public class MyCustomClipEditor : ClipEditor
{
public override ClipDrawOptions GetClipOptions(TimelineClip clip)
{
var options = base.GetClipOptions(clip);
options.highlightColor = Color.blue;
return options;
}
}
2 Likes