static public int Start(IntPtr l) { try{ if (matchType(l, 2, typeof(float), typeof(float))) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); System.Single a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); self.Start(a1, a2); return(0); } else if (matchType(l, 2, typeof(float))) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); System.Single a1; checkType(l, 2, out a1); self.Start(a1); return(0); } else if (matchType(l, 2)) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); self.Start(); return(0); } LuaDLL.luaL_error(l, "No matched override function to call"); return(0); } catch (Exception e) { LuaDLL.luaL_error(l, e.ToString()); return(0); } }
static public int Start(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 int argc = LuaDLL.lua_gettop(l); if (argc == 1) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); self.Start(); pushValue(l, true); return(1); } else if (argc == 2) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); System.Single a1; checkType(l, 2, out a1); self.Start(a1); pushValue(l, true); return(1); } else if (argc == 3) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); System.Single a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); self.Start(a1, a2); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function Start to call"); 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 public int Start(IntPtr l) { try { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); self.Start(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int Start__Single(IntPtr l) { try { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); System.Single a1; checkType(l, 2, out a1); self.Start(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int Start(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (argc == 1) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); self.Start(); pushValue(l, true); return(1); } else if (argc == 2) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); System.Single a1; checkType(l, 2, out a1); self.Start(a1); pushValue(l, true); return(1); } else if (argc == 3) { UnityEngine.LocationService self = (UnityEngine.LocationService)checkSelf(l); System.Single a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); self.Start(a1, a2); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static int Start(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.LocationService))) { UnityEngine.LocationService obj = (UnityEngine.LocationService)ToLua.ToObject(L, 1); obj.Start(); return(0); } else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.LocationService), typeof(float))) { UnityEngine.LocationService obj = (UnityEngine.LocationService)ToLua.ToObject(L, 1); float arg0 = (float)LuaDLL.lua_tonumber(L, 2); obj.Start(arg0); return(0); } else if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.LocationService), typeof(float), typeof(float))) { UnityEngine.LocationService obj = (UnityEngine.LocationService)ToLua.ToObject(L, 1); float arg0 = (float)LuaDLL.lua_tonumber(L, 2); float arg1 = (float)LuaDLL.lua_tonumber(L, 3); obj.Start(arg0, arg1); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.LocationService.Start")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }