private void OnTriggerEnter2D(Collider2D collision) { { var playerCol = collision.GetComponent <Player.Movement.PlayerCollision>(); if (playerCol) { finalBoss.playerCol = playerCol; finalBoss.StartBossBattle(); GetComponent <Collider2D>().enabled = false; _cameraController.UpdatePlayerOffset(_offset); _teleporter.DisableTeleporter(); } } }