Sorting Custom Assets Into Sub Lists?

Hi,
when you create custom assets they all seams to appear in the same long right click list menu. This quickly becomes unusable. Is there a way to have them sort into sub lists similar to how we can define a “menu” for our custom editor windows to appear under.

E.g.
Camera Behaviors → My Camera Behavior1, MyCameraBehavior2.
AI Behaviors → My AI Behavior 1, My AI Behavior 2.

Thanks.

No, but that’s on our backlog and may be in a release soon.

Its pretty critical for a project of any size as that list quickly becomes unmanageable. Any possibility of getting a date? We may have to move in a different direction and create our own timeline otherwise.

You can add a category by using the DisplayName attribute and adding a “/” in the name.

[System.Serializable]
[DisplayName("Category/CustomClip1")]
public class MyClipAsset : PlayableAsset
{
    public override Playable CreatePlayable(PlayableGraph graph, GameObject go)
    {
        return Playable.Create(graph);
    }
}


[DisplayName("Category/CustomClip2")]
public class CustomClip2 : PlayableAsset
{
    public override Playable CreatePlayable(PlayableGraph graph, GameObject go)
    {
        return Playable.Create(graph);
    }
}

4460641--409381--upload_2019-4-23_9-50-4.png

1 Like

Amazing thank you very much!