坐标和碰撞框的判定 知道一个点坐标,和一个Collider,判断坐标是否在碰撞框内。 最简单直接的办法就是 // point 坐标 if (collider.bounds.Contains(point )) { //在里面 }