public void Dead(Vector2 hitPosition) { deathParticles.transform.parent = null; deathParticles.transform.position = hitPosition; deathParticles.Play(); StopAllCoroutines(); shooting.StopShooting(); movement.BlastAway(); GameManager.Instance.GameOver(); }