关于unity UI界面操作与场景内操作不冲突问题

if (EventSystem.current.IsPointerOverGameObject() == false) //进入UI 不与场景物体操作
{
使用方法

添加一个 using event这个引用

你可能感兴趣的:(unity,unity3d)