📜  unity 通过脚本设置粒子属性 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:38.504000             🧑  作者: Mango

代码示例1
//Example to set a Particle Systems Emission Rate over Time.

// Get the emission module.
var emissionModule = GetComponent().emission;

// Enable it (if its not) and set a value
emissionModule.enabled = true;
emissionModule.rateOverTime = 20;

//V Check source for more examples V