static int OnDestroyCache(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); WCG.FloatUIDestroy obj = (WCG.FloatUIDestroy)ToLua.CheckObject <WCG.FloatUIDestroy>(L, 1); obj.OnDestroyCache(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_m_DestroyObj(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); WCG.FloatUIDestroy obj = (WCG.FloatUIDestroy)o; UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject)); obj.m_DestroyObj = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index m_DestroyObj on a nil value")); } }
static int get_m_DestroyObj(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); WCG.FloatUIDestroy obj = (WCG.FloatUIDestroy)o; UnityEngine.GameObject ret = obj.m_DestroyObj; ToLua.PushSealed(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index m_DestroyObj on a nil value")); } }
static int SetFloatPosition(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); WCG.FloatUIDestroy obj = (WCG.FloatUIDestroy)ToLua.CheckObject <WCG.FloatUIDestroy>(L, 1); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); float arg2 = (float)LuaDLL.luaL_checknumber(L, 4); obj.SetFloatPosition(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }