I had assumed (based on the docs’ description) that the various “*Multiplier” properties under Particle System (e.g. “StartSpeedMultiplier”, “StartSizeMultiplier”, etc.) would have a default value of 1, and I could use them to easily scale the relevant value.
However, I’m finding that the default values on startup are the UI-set values, rather than 1.
Example:
- Create a particle system.
- Set the “Start Size” to 10. Leave “Start Speed” at its default of 5.
- Attach this script to the particleSystem GameObject:
using UnityEngine;
public class MultTest : MonoBehaviour {
void Start () {
Debug.Log("size: " + GetComponent<ParticleSystem>().main.startSizeMultiplier +
"\nspeed: " + GetComponent<ParticleSystem>().main.startSpeedMultiplier);
}
}
When you Run, you’ll see that the two tested multiplier values are 10 and 5, the same as the property they’re meant to be scaling.
Maybe this is by design, but I can’t see a reason why, and it makes the multipliers useless to me. Am I missing something?
-Scott