Skip to main content

Script Reference

All editor classes live in the AnimationWorkbench.Editor namespace, runtime classes in AnimationWorkbench.

Open the Main Window

using AnimationWorkbench.Editor;

AWContextMenuExtensions.ShowAnimationWorkbenchWindow();

Access the Library

var lib = AWAnimationLibrary.Instance;

var walkClips = lib.AllAnimations
.Where(a => a.Clip != null && a.Clip.name.Contains("Walk"));

Open a Clip in the Keyframe Editor

AWKeyframeEditorWindow.OpenWithClip(clip, createNewWindow: true);

Manage Characters

var db = AWAnimationCharacterDatabase.Instance;

Cache Management

AWThumbnailController.Instance.ClearAllCaches();