Hello, I have a problem with my script. I want to add the 3 curves the 3D start size of my particle system script. But I don’t know how to do it. Can anyone help me?
public class DripEditor : MonoBehaviour {
void Start()
{
ParticleSystem ps = GetComponent<ParticleSystem>();
var main = ps.main;
// Emiter
main.duration = 2.0f;
main.loop = true;
main.startLifetime = 2.0f;
main.startSpeed = 0.0f;
main.startSize3D = true;
}
}