static public int constructor(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule o;
         o = new UnityEngine.ParticleSystem.VelocityOverLifetimeModule();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule o;
         o = new UnityEngine.ParticleSystem.VelocityOverLifetimeModule();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
	static public int constructor(IntPtr l) {
		try {
			UnityEngine.ParticleSystem.VelocityOverLifetimeModule o;
			o=new UnityEngine.ParticleSystem.VelocityOverLifetimeModule();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
    static int QPYX_get_velocityOverLifetime_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.VelocityOverLifetimeModule QPYX_ret_YXQP = QPYX_obj_YXQP.velocityOverLifetime;
            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 velocityOverLifetime on a nil value"));
        }
    }
Exemplo n.º 5
0
 static void VelocityOverLifetimeModule_space(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
         var result = _this.space;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         UnityEngine.ParticleSystemSimulationSpace             arg0  = (UnityEngine.ParticleSystemSimulationSpace)JSApi.getEnum((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
         _this.space = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 6
0
 static void VelocityOverLifetimeModule_z(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
         var result = _this.z;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.ParticleSystem.MinMaxCurve arg0 = (UnityEngine.ParticleSystem.MinMaxCurve)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
         _this.z = arg0;
         JSMgr.changeJSObj(vc.jsObjID, _this);
     }
 }
Exemplo n.º 7
0
////////////////////// VelocityOverLifetimeModule ///////////////////////////////////////
// constructors

// fields

// properties
    static void VelocityOverLifetimeModule_enabled(JSVCall vc)
    {
        if (vc.bGet)
        {
            UnityEngine.ParticleSystem.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)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.VelocityOverLifetimeModule _this = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)vc.csObj;
            _this.enabled = arg0;
            JSMgr.changeJSObj(vc.jsObjID, _this);
        }
    }
    static int get_velocityOverLifetime(IntPtr L)
    {
        object o = null;

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