Esempio n. 1
0
        internal static void ClosePopup()
        {
            UnityEngine.Object[] array = Resources.FindObjectsOfTypeAll(typeof(AnimationEventPopup));
            AnimationEventPopup  animationEventPopup = (array.Length <= 0) ? null : ((AnimationEventPopup)array[0]);

            if (animationEventPopup != null)
            {
                animationEventPopup.Close();
            }
        }
        internal static void ClosePopup()
        {
            Object[]            objArray = Resources.FindObjectsOfTypeAll(typeof(AnimationEventPopup));
            AnimationEventPopup popup    = (objArray.Length <= 0) ? null : ((AnimationEventPopup)objArray[0]);

            if (popup != null)
            {
                popup.Close();
            }
        }
        internal static void ClosePopup()
        {
            UnityEngine.Object[] objectsOfTypeAll    = Resources.FindObjectsOfTypeAll(typeof(AnimationEventPopup));
            AnimationEventPopup  animationEventPopup = objectsOfTypeAll.Length <= 0 ? (AnimationEventPopup)null : (AnimationEventPopup)objectsOfTypeAll[0];

            if (!((UnityEngine.Object)animationEventPopup != (UnityEngine.Object)null))
            {
                return;
            }
            animationEventPopup.Close();
        }