public static void FixAllOverrideControllers(UIControllerSetting setting)
        {
            List <AnimatorOverrideController> overrideControllers = FindAllOverrideControllers(setting);

            UIControllerDebugger.FixAnimationsNotSet(overrideControllers);
            UIControllerDebugger.FixAnimationsHideFlags(overrideControllers, setting.overrideAnimationsHideFlags);
            UIControllerDebugger.FixControllerMainObject(overrideControllers);
        }
Exemple #2
0
 void OnValidate()
 {
     if (this.transition.exitTime != this.m_Transition.exitTime || this.transition.duration != this.m_Transition.duration)
     {
         this.m_Transition = this.transition;
         foreach (RuntimeAnimatorController controller in this.controllers)
         {
             this.UpdateControllerTransition(controller);
         }
     }
     if (this.hideOverrideAnimations != this.m_HideOverrideAnimations)
     {
         this.m_HideOverrideAnimations = this.hideOverrideAnimations;
         UIControllerDebugger.FixAnimationsHideFlags(UIControllerDebugger.FindAllOverrideControllers(this), this.overrideAnimationsHideFlags);
     }
 }