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)
浙公网安备 33010602011771号