Ejemplo n.º 1
0
 public static void ShakeScreen(float intensity, float duration)
 {
     instance.StopAllCoroutines();
     instance.StartCoroutine(instance.ScreenShakeCoroutine(intensity, duration));
 }
Ejemplo n.º 2
0
 private static void ShakeScreen(float intensity)
 {
     instance.StopAllCoroutines();
     instance.StartCoroutine(instance.ShakeScreenCoroutine(intensity));
 }