static public int FindSelectable(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.Selectable self = (UnityEngine.UI.Selectable)checkSelf(l); UnityEngine.Vector3 a1; checkType(l, 2, out a1); var ret = self.FindSelectable(a1); pushValue(l, true); pushValue(l, ret); return(2); } 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 }
static int FindSelectable(IntPtr L) { L.ChkArgsCount(2); UnityEngine.UI.Selectable obj = (UnityEngine.UI.Selectable)L.ChkUnityObjectSelf(1, "UnityEngine.UI.Selectable"); var arg0 = L.ToVector3(2); UnityEngine.UI.Selectable o = obj.FindSelectable(arg0); L.PushLightUserData(o); return(1); }
static int FindSelectable(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); UnityEngine.UI.Selectable obj = (UnityEngine.UI.Selectable)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.UI.Selectable"); Vector3 arg0 = LuaScriptMgr.GetVector3(L, 2); UnityEngine.UI.Selectable o = obj.FindSelectable(arg0); LuaScriptMgr.Push(L, o); return(1); }
static public int FindSelectable(IntPtr l) { try { UnityEngine.UI.Selectable self = (UnityEngine.UI.Selectable)checkSelf(l); UnityEngine.Vector3 a1; checkType(l, 2, out a1); var ret = self.FindSelectable(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int FindSelectable(IntPtr l) { try { UnityEngine.UI.Selectable self=(UnityEngine.UI.Selectable)checkSelf(l); UnityEngine.Vector3 a1; checkType(l,2,out a1); var ret=self.FindSelectable(a1); pushValue(l,ret); return 1; } catch(Exception e) { LuaDLL.luaL_error(l, e.ToString()); return 0; } }
static int QPYX_FindSelectable_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 2); UnityEngine.UI.Selectable QPYX_obj_YXQP = (UnityEngine.UI.Selectable)ToLua.CheckObject <UnityEngine.UI.Selectable>(L_YXQP, 1); UnityEngine.Vector3 QPYX_arg0_YXQP = ToLua.ToVector3(L_YXQP, 2); UnityEngine.UI.Selectable QPYX_o_YXQP = QPYX_obj_YXQP.FindSelectable(QPYX_arg0_YXQP); ToLua.Push(L_YXQP, QPYX_o_YXQP); return(1); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int FindSelectable(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.UI.Selectable obj = (UnityEngine.UI.Selectable)ToLua.CheckObject(L, 1, typeof(UnityEngine.UI.Selectable)); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); UnityEngine.UI.Selectable o = obj.FindSelectable(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public Selectable FindSelectableOnUp(this Selectable selectable, FilterDelegate filter) { return(selectable.FindSelectable(Vector3.up, filter)); }
static public Selectable FindSelectableOnRight(this Selectable selectable, FilterDelegate filter) { return(selectable.FindSelectable(Vector3.right, filter)); }