浏览代码

Fixed FocusUIAction that did not update the focus of a button in certain conditions

/main
Thomas ICHÉ 4 年前
当前提交
32c9f1ed
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 4
      CHANGELOG.md
  2. 2
      Runtime/LevelScripting/Actions/FocusUIAction.cs

4
CHANGELOG.md


* Renamed HierarchyHints to AdvancedHierarchyView + Changed behaviour to apply visibility from preferences
* Managers: Adjusted RuntimeInitializeOnLoad for new Quick Enter Play Mode Settings
#### Fixed
* Fixed FocusUIAction that did not update the focus of a button in certain conditions.
## 2019.3.3
#### Added

2
Runtime/LevelScripting/Actions/FocusUIAction.cs


{
if (UIObjectToFocus != null)
{
// Workaround : Before selecting, we ensure that there's no selection in the EventSystem
Manager.Get<UIEventManager>().eventSystem.SetSelectedGameObject(null);
UIObjectToFocus.Select();
}
}
正在加载...
取消
保存