Example #1
0
 public void Randomize()
 {
     speed          = Mathf.Lerp(speedMin, speedMax, Random.value);
     polarDirection = !polarDirection;
     polar.Move(Random.Range(0f, Mathf.PI * 0.5f), Random.Range(0f, Mathf.PI * 2f));
 }