static int set_CullGroup(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameManager obj = (GameManager)o; CullingGroupLoadRes arg0 = (CullingGroupLoadRes)ToLua.CheckUnityObject(L, 2, typeof(CullingGroupLoadRes)); obj.CullGroup = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index CullGroup on a nil value" : e.Message)); } }
static int get_CullGroup(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameManager obj = (GameManager)o; CullingGroupLoadRes ret = obj.CullGroup; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index CullGroup on a nil value" : e.Message)); } }