Unity判断鼠标是否在UI层
摘要://鼠标是否在UI层 public virtual bool IsPointerOnUI(string UILayerName=”UI“) { bool isPointerOnUI = false; if (EventSystem.current.IsPointerOverGameObject())
阅读全文
posted @ 2021-07-05 11:07
posted @ 2021-07-05 11:07