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

if(Input.GetMouseButton(0) && GUIUtility.hotControl ==1)

 

相关文章:

  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-12-12
  • 2021-12-19
猜你喜欢
  • 2021-07-09
  • 2022-12-23
  • 2022-02-01
  • 2021-05-19
  • 2021-11-26
  • 2022-12-23
  • 2021-09-19
相关资源
相似解决方案