Class AnimationHubUnityTabGui
Renders the "Unity Animation" tab from a scanned UnityAnimationInventory: one indented tree per AnimatorEntry (parameters, layers, states, transitions), followed by a flat "Clips on this model" section. Every row's Ping action stays read-only; the authoring actions added on top of it (Create Controller, + State, Default/Rename/Delete/Clip…) all route through Actions — this file only decides which action shows on which row and reads back which one was pressed, it never touches an asset itself. A row with a ModelAnimationValidator finding also carries a severity dot and, once expanded, the finding's own message.
Inherited Members
Namespace: Serenity.Editor.AnimationHub.Window
Assembly: Serenity.AnimationHub.Editor.dll
Syntax
public static class AnimationHubUnityTabGui
Methods
Draw(UnityAnimationInventory, string, HashSet<string>, Action<string>, AnimationHubIssueIndex, Func<string, bool>, AnimationHubAuthoringContext)
Declaration
public static void Draw(UnityAnimationInventory inventory, string search, HashSet<string> expandedKeys, Action<string> pingAssetPath, AnimationHubIssueIndex issueIndex, Func<string, bool> passesIssueFilter, AnimationHubAuthoringContext authoring)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityAnimationInventory | inventory | The scanned Unity animation data to draw. |
| string | search | Search text; a row whose title does not match it is skipped. |
| HashSet<string> | expandedKeys | Row keys currently expanded, shared with the window across repaints. |
| Action<string> | pingAssetPath | Selects and highlights an asset in the Project window. |
| AnimationHubIssueIndex | issueIndex | Validator findings looked up by row key. |
| Func<string, bool> | passesIssueFilter | Whether a row (by key) survives the "issues only" filter; a row that fails is skipped along with everything under it. |
| AnimationHubAuthoringContext | authoring | The model being authored, whether it can be, and where row actions send their engine calls. |