static public int Get(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (matchType(l, argc, 2, typeof(int))) { Hugula.ReferGameObjects self = (Hugula.ReferGameObjects)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); var ret = self.Get(a1); pushValue(l, true); pushValue(l, ret); return(2); } else if (matchType(l, argc, 2, typeof(string))) { Hugula.ReferGameObjects self = (Hugula.ReferGameObjects)checkSelf(l); System.String a1; checkType(l, 2, out a1); var ret = self.Get(a1); pushValue(l, true); pushValue(l, ret); return(2); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int get_userObject(IntPtr l) { try { Hugula.ReferGameObjects self = (Hugula.ReferGameObjects)checkSelf(l); pushValue(l, true); pushValue(l, self.userObject); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_userObject(IntPtr l) { try { Hugula.ReferGameObjects self = (Hugula.ReferGameObjects)checkSelf(l); System.Object v; checkType(l, 2, out v); self.userObject = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_monos(IntPtr l) { try { Hugula.ReferGameObjects self = (Hugula.ReferGameObjects)checkSelf(l); UnityEngine.Object[] v; checkArray(l, 2, out v); self.monos = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }