判断当前点击的UI是那个,获取当前点击的UI
代码放在这里防止忘记
gameObject = CS.UnityEngine.EventSystems.EventSystem.current.currentSelectedGameObject
Unity判断当前点击的UI是那个,获取当前点击的UI
最新推荐文章于 2023-12-01 17:14:01 发布
判断当前点击的UI是那个,获取当前点击的UI
代码放在这里防止忘记
gameObject = CS.UnityEngine.EventSystems.EventSystem.current.currentSelectedGameObject