Class ProceduralAnimatorScanner
Reads a model's Procedural Animator setup straight off the loaded prefab asset, the same way ModelAnimationScanner reads its Unity Animator setup: never UnityEditor.PrefabUtility.LoadPrefabContents(System.String), whose instantiated hierarchy is destroyed on unload and would leave every reference in the returned ProceduralInventory dangling.
Inherited Members
Namespace: Serenity.Editor.AnimationHub.Discovery
Assembly: Serenity.AnimationHub.Editor.dll
Syntax
public static class ProceduralAnimatorScanner
Methods
Scan(GameObject)
Builds the Procedural Animator inventory for model.
Declaration
public static ProceduralInventory Scan(GameObject model)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | model |
Returns
| Type | Description |
|---|---|
| ProceduralInventory |