private void SetGusts() { for (int i = 0; i < Gusts.Length; i++) { Gust g = Gusts[i]; float offset = (float)i / Gusts.Length; float gustOffset = offset * i + Random.value * offset * 0.8f; g.SetProperties(i); } }
private void SetGusts() { for (int i = 0; i < Gusts.Length; i++) { Gust g = Gusts[i]; float offset = (float)i / Gusts.Length; float gustOffset = offset * i + Random.value * offset * 0.8f; g.SetProperties(i); } }