Beispiel #1
0
 public void Shake()
 {
     foreach (CameraShaker shaker in CameraShaker.FindObjectsOfType <CameraShaker>())
     {
         shaker.ShakeOnce(
             magnitude,
             roughness,
             fadeInTime,
             fadeOutTime);
     }
 }