public static int Init(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); noviceComponent.Init(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }