You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
2.2 KiB
89 lines
2.2 KiB
using UnityEngine; |
|
//Author:ZCG |
|
//CreatTime:12/8/2017 |
|
/// <summary> |
|
///包含一个粒子系统所有初始值 |
|
/// </summary> |
|
public class ParticleData |
|
{ |
|
/// <summary> |
|
/// 物体Transform缩放 |
|
/// </summary> |
|
public Vector3 scale; |
|
/// <summary> |
|
/// 重力常量 |
|
/// </summary> |
|
public float gravityModifier_constant; |
|
/// <summary> |
|
/// 重力常量最小值 |
|
/// </summary> |
|
public float gravityModifier_constantMin; |
|
/// <summary> |
|
/// 重力常量最大值 |
|
/// </summary> |
|
public float gravityModifier_constantMax; |
|
/// <summary> |
|
/// 粒子大小常量 |
|
/// </summary> |
|
public float size_constant; |
|
/// <summary> |
|
/// 粒子大小最小值 |
|
/// </summary> |
|
public float size_constantMin; |
|
/// <summary> |
|
/// 粒子大小最大值 |
|
/// </summary> |
|
public float size_constantMax; |
|
/// <summary> |
|
/// 生命周期常量 |
|
/// </summary> |
|
public float startLifetime_constant; |
|
/// <summary> |
|
/// 生命周期常量最小值 |
|
/// </summary> |
|
public float startLifetime_constantMin; |
|
/// <summary> |
|
/// 生命周期常量最大值 |
|
/// </summary> |
|
public float startLifetime_constantMax; |
|
/// <summary> |
|
/// 速度常量 |
|
/// </summary> |
|
public float speed_constant; |
|
/// <summary> |
|
/// 速度最小值 |
|
/// </summary> |
|
public float speed_constantMin; |
|
/// <summary> |
|
/// 速度最大值 |
|
/// </summary> |
|
public float speed_constantMax; |
|
/// <summary> |
|
/// 旋转常量 |
|
/// </summary> |
|
public float rotation_constant; |
|
/// <summary> |
|
/// 旋转最小值 |
|
/// </summary> |
|
public float rotation_constantMin; |
|
/// <summary> |
|
/// 旋转最大值 |
|
/// </summary> |
|
public float rotation_constantMax; |
|
/// <summary> |
|
/// 粒子数量常量 |
|
/// </summary> |
|
public float rate_constant; |
|
/// <summary> |
|
/// 粒子数量最小值 |
|
/// </summary> |
|
public float rate_constantMin; |
|
/// <summary> |
|
/// 粒子数量最大值 |
|
/// </summary> |
|
public float rate_constantMax; |
|
/// <summary> |
|
/// 周期内粒子最大发射数量 |
|
/// </summary> |
|
public int maxParticles; |
|
}
|
|
|