随笔分类 -  unity

摘要:主要思路就是禁用当前的collider void OnTriggerEnter2D(Collider2D col) { if (col.tag == "cherry") { col.gameObject.GetComponent<BoxCollider2D>().enabled = false; D 阅读全文
posted @ 2021-09-14 21:57 gao1996 阅读(1853) 评论(0) 推荐(0)