I write so:
Public ParticleSystem water;
Public float speed=20;
Water. Main. StartSpeedMultiplier=speed;
But the system tip:
Assets/Script/SpeedControl. Cs (22, 14) : error CS1612: always modify a value type, the return value of ` UnityEngine. ParticleSystem. Main '. Consider storing the value in a temporary variable
What should I do?