static int SetNativeSize(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); ShibaInu.CircleImage obj = (ShibaInu.CircleImage)ToLua.CheckObject <ShibaInu.CircleImage>(L, 1); obj.SetNativeSize(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_fan(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.CircleImage obj = (ShibaInu.CircleImage)o; float ret = obj.fan; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index fan on a nil value")); } }
static int get_sourceImage(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.CircleImage obj = (ShibaInu.CircleImage)o; UnityEngine.Sprite ret = obj.sourceImage; ToLua.PushSealed(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sourceImage on a nil value")); } }
static int IsRaycastLocationValid(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); ShibaInu.CircleImage obj = (ShibaInu.CircleImage)ToLua.CheckObject <ShibaInu.CircleImage>(L, 1); UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); UnityEngine.Camera arg1 = (UnityEngine.Camera)ToLua.CheckObject(L, 3, typeof(UnityEngine.Camera)); bool o = obj.IsRaycastLocationValid(arg0, arg1); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_sprite(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.CircleImage obj = (ShibaInu.CircleImage)o; UnityEngine.Sprite arg0 = (UnityEngine.Sprite)ToLua.CheckObject(L, 2, typeof(UnityEngine.Sprite)); obj.sprite = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sprite on a nil value")); } }
static int set_sides(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.CircleImage obj = (ShibaInu.CircleImage)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.sides = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sides on a nil value")); } }
static int get_mainTexture(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.CircleImage obj = (ShibaInu.CircleImage)o; UnityEngine.Texture ret = obj.mainTexture; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index mainTexture on a nil value")); } }
static int get_sides(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ShibaInu.CircleImage obj = (ShibaInu.CircleImage)o; int ret = obj.sides; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sides on a nil value")); } }