2021年7月5日

Unity判断鼠标是否在UI层

摘要: //鼠标是否在UI层 public virtual bool IsPointerOnUI(string UILayerName=”UI“) { bool isPointerOnUI = false; if (EventSystem.current.IsPointerOverGameObject()) 阅读全文

posted @ 2021-07-05 11:07 you_yond 阅读(300) 评论(0) 推荐(1)

导航