Пример #1
0
 private void Shake(float shakeScale)
 {
     transform.position -= shake;
     shake = UtilRandom.OnUnitCircle() * shakeScale;
     transform.position += shake;
 }