static public int constructor(IntPtr l) {
		try {
			UnityEngine.ParticleSystem.ExternalForcesModule o;
			o=new UnityEngine.ParticleSystem.ExternalForcesModule();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.ParticleSystem.ExternalForcesModule o;
         o = new UnityEngine.ParticleSystem.ExternalForcesModule();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
    static int QPYX_get_externalForces_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        UnityEngine.ParticleSystem QPYX_obj_YXQP = (UnityEngine.ParticleSystem)QPYX_o_YXQP;
            UnityEngine.ParticleSystem.ExternalForcesModule QPYX_ret_YXQP = QPYX_obj_YXQP.externalForces;
            ToLua.PushValue(L_YXQP, QPYX_ret_YXQP);
            return(1);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index externalForces on a nil value"));
        }
    }
 static void ExternalForcesModule_multiplier(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.ExternalForcesModule _this = (UnityEngine.ParticleSystem.ExternalForcesModule)vc.csObj;
         var result = _this.multiplier;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single arg0 = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.ExternalForcesModule _this = (UnityEngine.ParticleSystem.ExternalForcesModule)vc.csObj;
         _this.multiplier = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
////////////////////// ExternalForcesModule ///////////////////////////////////////
// constructors

// fields

// properties
    static void ExternalForcesModule_enabled(JSVCall vc)
    {
        if (vc.bGet)
        {
            UnityEngine.ParticleSystem.ExternalForcesModule _this = (UnityEngine.ParticleSystem.ExternalForcesModule)vc.csObj;
            var result = _this.enabled;
            JSApi.setBooleanS((int)JSApi.SetType.Rval, (System.Boolean)(result));
        }
        else
        {
            System.Boolean arg0 = (System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.Arg);
            UnityEngine.ParticleSystem.ExternalForcesModule _this = (UnityEngine.ParticleSystem.ExternalForcesModule)vc.csObj;
            _this.enabled = arg0;
            JSMgr.changeJSObj(vc.jsObjID, _this);
        }
    }
    static int get_externalForces(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.ParticleSystem obj = (UnityEngine.ParticleSystem)o;
            UnityEngine.ParticleSystem.ExternalForcesModule ret = obj.externalForces;
            ToLua.PushValue(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index externalForces on a nil value"));
        }
    }
    static int get_externalForces(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.ParticleSystem.externalForces");
#endif
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.ParticleSystem obj = (UnityEngine.ParticleSystem)o;
            UnityEngine.ParticleSystem.ExternalForcesModule ret = obj.externalForces;
            ToLua.PushValue(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index externalForces on a nil value"));
        }
    }