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.
63 lines
1.7 KiB
63 lines
1.7 KiB
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace UltraCombos
|
|
{
|
|
[CreateAssetMenu(menuName = "UltraCombos/ParticleUniforms", fileName = "ParticleUniforms", order = 1000)]
|
|
public class ParticleUniforms : ScriptableObject
|
|
{
|
|
[Header("General")]
|
|
//[Range(1, 1 << 21)]
|
|
//public int maxParticles = 1 << 20;
|
|
//[Range(0, 1)]
|
|
//public int isEmit = 1;
|
|
[Range(0, 1)]
|
|
public float numRate = 1.0f;
|
|
[Range(0, 10)]
|
|
public float movement = 1.0f;
|
|
[Range(0, 1)]
|
|
public float geomSize = 0.01f;
|
|
//[Range(0, 1)]
|
|
//public float colorize = 1.0f;
|
|
[Range(0, 1)]
|
|
public float velocityDamping = 1.0f;
|
|
|
|
[Header("Life")]
|
|
[Range(0, 60)]
|
|
public float lifeDuration = 0.0f;
|
|
[Range(0, 1)]
|
|
public float lifeVariation = 0.0f;
|
|
|
|
[Header("Convergence")]
|
|
[Range(0, 1)]
|
|
public float convergence = 0.0f;
|
|
|
|
[Header("Home")]
|
|
[Range(0, 1)]
|
|
public float homeStrength = 0.0f;
|
|
|
|
[Header("Noise")]
|
|
[Range(0, 1)]
|
|
public float noiseStrength = 0.0f;
|
|
[Range(0, 1)]
|
|
public float noiseSeed = 0.5f;
|
|
[Range(0, 1)]
|
|
public float noiseTimeScale = 1.0f;
|
|
[Range(0, 1)]
|
|
public float noiseFrequency = 0.5f;
|
|
|
|
[Header("Directional Force")]
|
|
public Vector3 forceDirection;
|
|
[Range(0, 1)]
|
|
public float forceStrength = 0.0f;
|
|
|
|
[Header("Impulse Force")]
|
|
public Vector3 impulsePosition;
|
|
[Range(0, 10)]
|
|
public float impulseRadius = 1.0f;
|
|
[Range(-1, 1)]
|
|
public float impulseStrength = 0.0f;
|
|
|
|
}
|
|
}
|
|
|