Generation

generate functionSat, 03 Dec 2022

at startup set wind speed with a random value from 0.1 to 2

public void Start() { WindSpeed = UnityEngine.Random.Range(0.1f, 2.0f); }

Questions about programming?Chat with your personal AI assistant