void OnTriggerExit2D(Collider2D col) { if (col.gameObject.name == "Player") { actionRange = false; dataController.RemoveNPC(); } }