public static void ControllerChanged() { foreach (AnimationWindow current in AnimationWindow.GetAllAnimationWindows()) { current.OnControllerChange(); } }
static void StopAnimationPlaybackAndPreviewing() { var animWindows = AnimationWindow.GetAllAnimationWindows(); foreach (var animWindow in animWindows) { animWindow.state.StopPreview(); animWindow.state.StopPlayback(); } }