static int UpdateScale(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { ShibaInu.PointerScaler obj = (ShibaInu.PointerScaler)ToLua.CheckObject <ShibaInu.PointerScaler>(L, 1); obj.UpdateScale(); return(0); } else if (count == 2) { ShibaInu.PointerScaler obj = (ShibaInu.PointerScaler)ToLua.CheckObject <ShibaInu.PointerScaler>(L, 1); System.Nullable <UnityEngine.Vector3> arg0 = ToLua.CheckNullable <UnityEngine.Vector3>(L, 2); obj.UpdateScale(arg0); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: ShibaInu.PointerScaler.UpdateScale")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_downScale(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PointerScaler obj = (ShibaInu.PointerScaler)o; float ret = obj.downScale; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index downScale on a nil value")); } }
static int get_normalScale(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PointerScaler obj = (ShibaInu.PointerScaler)o; UnityEngine.Vector3 ret = obj.normalScale; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index normalScale on a nil value")); } }
static int set_tweenDuration(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PointerScaler obj = (ShibaInu.PointerScaler)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.tweenDuration = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index tweenDuration on a nil value")); } }
static int set_normalScale(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.PointerScaler obj = (ShibaInu.PointerScaler)o; UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); obj.normalScale = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index normalScale on a nil value")); } }