static int Select(IntPtr L) { L.ChkArgsCount(1); UnityEngine.UI.Selectable obj = (UnityEngine.UI.Selectable)L.ChkUnityObjectSelf(1, "UnityEngine.UI.Selectable"); obj.Select(); return(0); }
private void OnEnable() { if (eventSystem.currentSelectedGameObject == null) { selectable.Select(); } }
static public int Select(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); self.Select(); 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 }
static int Select(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UnityEngine.UI.Selectable obj = (UnityEngine.UI.Selectable)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.UI.Selectable"); obj.Select(); return(0); }
static public int Select(IntPtr l) { try { UnityEngine.UI.Selectable self = (UnityEngine.UI.Selectable)checkSelf(l); self.Select(); return(0); } catch (Exception e) { return(error(l, e)); } }
static public int Select(IntPtr l) { try { UnityEngine.UI.Selectable self=(UnityEngine.UI.Selectable)checkSelf(l); self.Select(); return 0; } catch(Exception e) { LuaDLL.luaL_error(l, e.ToString()); return 0; } }
static int QPYX_Select_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 1); UnityEngine.UI.Selectable QPYX_obj_YXQP = (UnityEngine.UI.Selectable)ToLua.CheckObject <UnityEngine.UI.Selectable>(L_YXQP, 1); QPYX_obj_YXQP.Select(); return(0); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int Select(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.UI.Selectable obj = (UnityEngine.UI.Selectable)ToLua.CheckObject(L, 1, typeof(UnityEngine.UI.Selectable)); obj.Select(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public void Select() { Selectable.Select(); }