void MoveFinished() { if (MM.map[(int)transform.position.x, (int)transform.position.y].hasJukeBox) { MM.die(); } CheckIfHit(); }
void MoveFinished() { if (!triggerConsumed) { if (player.currentPos == (Vector2)transform.position) { triggerConsumed = true; MM.die(); } } }