IEnumerator ImpactCoroutine(Vector2 relVelocity) { Time.timeScale = 0f; yield return(new WaitForSecondsRealtime(0.1f)); Time.timeScale = 1f; shaker.Shake(0.3f, relVelocity, 10, 0.1f, -1, new Vector3(), 0.1f, true); }
public void ShakeAttack() { m_ProCamera2DShake.Shake(0); }
public void landingSound() { shakeCamera.Shake(0); audio.clip = hitwall_Audio; audio.Play(); }
public void Shaking() { shakingCamera.Shake(0); }
void ScreamShake(int irrelevant) { shaker.Shake(duration, strength, vibrato, randomness, initialAngle, rotation, smoothness, false); }