Esempio n. 1
0
 /// <summary>
 /// Call if you want the screen to shake
 /// </summary>
 /// <param name="duration"></param>
 /// <param name="magnitude"></param>
 /// <param name="speed"></param>
 public void Shake(float duration = 1f, float magnitude = 0.15f, float speed = 25f)
 {
     shaker.InitNewShake(duration, magnitude, speed);
 }