static int Hide(IntPtr L)
 {
     L.ChkArgsCount(1);
     UnityEngine.UI.Dropdown obj = (UnityEngine.UI.Dropdown)L.ChkUnityObjectSelf(1, "UnityEngine.UI.Dropdown");
     obj.Hide();
     return(0);
 }
示例#2
0
 static public int Hide(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         UnityEngine.UI.Dropdown self = (UnityEngine.UI.Dropdown)checkSelf(l);
         self.Hide();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }
示例#3
0
 static int Hide(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 1);
     UnityEngine.UI.Dropdown obj = (UnityEngine.UI.Dropdown)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.UI.Dropdown");
     obj.Hide();
     return(0);
 }
示例#4
0
            public virtual void OnCancel(BaseEventData eventData)
            {
                Dropdown componentInParent = base.GetComponentInParent <Dropdown>();

                if (componentInParent)
                {
                    componentInParent.Hide();
                }
            }
示例#5
0
            public virtual void OnCancel(BaseEventData eventData)
            {
                Dropdown dropdown = GetComponentInParent <Dropdown>();

                if (dropdown)
                {
                    dropdown.Hide();
                }
            }
示例#6
0
            public virtual void OnCancel(BaseEventData eventData)
            {
                Dropdown componentInParent = this.GetComponentInParent <Dropdown>();

                if (!(bool)((UnityEngine.Object)componentInParent))
                {
                    return;
                }
                componentInParent.Hide();
            }
示例#7
0
 static public int Hide(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown self = (UnityEngine.UI.Dropdown)checkSelf(l);
         self.Hide();
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int QPYX_Hide_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 1);
         UnityEngine.UI.Dropdown QPYX_obj_YXQP = (UnityEngine.UI.Dropdown)ToLua.CheckObject <UnityEngine.UI.Dropdown>(L_YXQP, 1);
         QPYX_obj_YXQP.Hide();
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int Hide(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.UI.Dropdown obj = (UnityEngine.UI.Dropdown)ToLua.CheckObject(L, 1, typeof(UnityEngine.UI.Dropdown));
         obj.Hide();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }