private void OnTriggerEnter(Collider other) { EnemyDeath enemy = other.GetComponent<EnemyDeath>(); if(enemy != null) { enemy.Die(); CameraShaker.Instance.ShakeOnce(magnitude, roughness, fadeInTime, fadeOutTime); s.hasBullet = true; FindObjectOfType<AudioManager>().PlaySound("Reload"); } if (other.CompareTag("ReverseGravity")) { s.ReverseGravity(); s.hasBullet = true; FindObjectOfType<AudioManager>().PlaySound("Reload"); } }