📅  最后修改于: 2022-03-11 14:57:23.883000             🧑  作者: Mango
foreach (Touch touch in Input.touches)
{
int id = touch.fingerId;
if (EventSystem.current.IsPointerOverGameObject(id))
{
// ui touched
}
}