public static void ControllerChanged()
 {
     foreach (AnimationWindow current in AnimationWindow.GetAllAnimationWindows())
     {
         current.OnControllerChange();
     }
 }
示例#2
0
        static void StopAnimationPlaybackAndPreviewing()
        {
            var animWindows = AnimationWindow.GetAllAnimationWindows();

            foreach (var animWindow in animWindows)
            {
                animWindow.state.StopPreview();
                animWindow.state.StopPlayback();
            }
        }