static public int constructor(IntPtr l) {
		try {
			UnityEngine.ParticleSystem.SizeBySpeedModule o;
			o=new UnityEngine.ParticleSystem.SizeBySpeedModule();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
예제 #2
0
    static int get_sizeBySpeed(IntPtr L)
    {
        object o = null;

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

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