logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Editor.AnimationHub.Integration

    Classes

    AnimationHubClipEditorRegistry

    The Animation Hub's clip-editor integration seam: routes "Edit Curves" row actions to a registered IAnimationClipEditor (the in-hub keyframe editor of a later phase) when one is registered and willing to handle the clip, and otherwise falls back to Unity's own Animation window — selecting the model so the window binds to it and pinging the clip so it is easy to find in the window's own clip dropdown. At most one editor is registered at a time; a second Register(IAnimationClipEditor) call simply replaces the first, the same "last one wins" simplification the hub's own AnimationHubAuthoringPromptState applies to its single open prompt.

    Interfaces

    IAnimationClipEditor

    Implemented by the Animation Hub's in-hub keyframe editor panel (a later phase) and registered with AnimationHubClipEditorRegistry so the hub's row actions can hand a clip off to it instead of always falling back to Unity's own Animation window. Paths only, never a live UnityEngine.Object reference — the same DTO discipline the hub's own discovery model (ClipEntry, StateEntry) already follows.

    Enums

    AnimationHubClipEditorRegistry.Result

    Which path OpenEditor(string, string, string) actually took, so a caller can log it.

    In this article
    © 2026 Serenity. All Rights Reserved