AddAlphaKey

格式

AddAlphaKey(ValueName,alpha,time,key)

实例

local spawn = WorkSpace:WaitForChild("Spawn")
local particle = RWObject.Create("Particle", spawn)
particle.Enable = true --是否生效
particle:AddAlphaKey("StartColor",0.5,0.3,1)    --粒子颜色渐变区间透明度键值
文档更新时间: 2020-08-12 21:50   作者:孙晓艺