20 lines
541 B
C#
20 lines
541 B
C#
|
//using UnityEngine;
|
|||
|
//public class WingModelParticleCtr : MonoBehaviour
|
|||
|
//{
|
|||
|
// private ParticleSystem[] _particleSystems;
|
|||
|
|
|||
|
// private void Awake()
|
|||
|
// {
|
|||
|
// _particleSystems = GetComponentsInChildren<ParticleSystem>();
|
|||
|
// }
|
|||
|
|
|||
|
// public void SetStartSizeScale(float scale)
|
|||
|
// {
|
|||
|
// //设置粒子特效的缩放
|
|||
|
// for (var i = 0; i < _particleSystems.Length; i++)
|
|||
|
// {
|
|||
|
// var main = _particleSystems[i].main;
|
|||
|
// main.startSizeMultiplier = scale;
|
|||
|
// }
|
|||
|
// }
|
|||
|
//}
|