unity3d 鼠标事件穿透GUI的处理

这个问题目前还没有找到完美的解决方案,目前只能通过GUIUtility.hotControl来侦测是否点击到面板上

if(Input.GetMouseButton(0) && GUIUtility.hotControl ==1)
原文地址:https://www.cnblogs.com/88999660/p/2869873.html