Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        public void OnAnimationEnd()
        {
            if (!Active)
            {
                return;
            }

            if (!Mode.Equals(Modes.Animator))
            {
                return;
            }

            SendMessage("OnFleetingDelay", null, SendMessageOptions.RequireReceiver);
        }
 public void UpdateDificultad()
 {
     if (!dificultad.Equals(menuBehavour.GetModeSelected()))
     {
         animator.SetBool("Chosen", true);
         menuBehavour.SetDificultad(dificultad, animator);
     }
 }
Exemple #3
0
 public bool Equals(HMIConfig other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(other, this))
     {
         return(true);
     }
     if (!Modes.Equals(other.Modes))
     {
         return(false);
     }
     if (!Maps.Equals(other.Maps))
     {
         return(false);
     }
     if (!Vehicles.Equals(other.Vehicles))
     {
         return(false);
     }
     return(true);
 }