using UnityEngine; //Author:ZCG //CreatTime:12/8/2017 /// ///包含一个粒子系统所有初始值 /// public class ParticleData { /// /// 物体Transform缩放 /// public Vector3 scale; /// /// 重力常量 /// public float gravityModifier_constant; /// /// 重力常量最小值 /// public float gravityModifier_constantMin; /// /// 重力常量最大值 /// public float gravityModifier_constantMax; /// /// 粒子大小常量 /// public float size_constant; /// /// 粒子大小最小值 /// public float size_constantMin; /// /// 粒子大小最大值 /// public float size_constantMax; /// /// 生命周期常量 /// public float startLifetime_constant; /// /// 生命周期常量最小值 /// public float startLifetime_constantMin; /// /// 生命周期常量最大值 /// public float startLifetime_constantMax; /// /// 速度常量 /// public float speed_constant; /// /// 速度最小值 /// public float speed_constantMin; /// /// 速度最大值 /// public float speed_constantMax; /// /// 旋转常量 /// public float rotation_constant; /// /// 旋转最小值 /// public float rotation_constantMin; /// /// 旋转最大值 /// public float rotation_constantMax; /// /// 粒子数量常量 /// public float rate_constant; /// /// 粒子数量最小值 /// public float rate_constantMin; /// /// 粒子数量最大值 /// public float rate_constantMax; /// /// 周期内粒子最大发射数量 /// public int maxParticles; }