📅  最后修改于: 2022-03-11 14:48:53.252000             🧑  作者: Mango
//for 2D
//remeber to set your collider to trigger
//and to give the gameobject a rigidbody and collider of its own
private void OnTriggerExit2D(Collider2D collision)
{
}