void OnParticleCollision(GameObject other) { //if (isTransitioning || !collisionEnabled) return; if (other.tag == "Player") { var collision = particle.collision; collision.enabled = false; player.StartDeathSequence(); } }
void OnParticleCollision(GameObject other) { //if (isTransitioning || !collisionEnabled) return; if (other.tag == "Player") { var collision = particle.collision; collision.enabled = false; player.StartDeathSequence(); } }