GetParticleEffectCurve

格式

GetParticleEffectCurve(ValueName)

实例

local spawn = WorkSpace:WaitForChild("Spawn")
local particle = RWObject.Create("Particle", spawn)
particle.Enable = true --是否生效
particle:SetParticleEffectCurve("RateOverTime",4,5,4,5)  -- 每秒发射粒子数(曲线区间)
print("每秒发射粒子数三轴曲线键值----------"..tostring(particle:GetParticleEffectCurve("RateOverTime")))
文档更新时间: 2020-08-12 21:15   作者:孙晓艺