I'm having the following issues:
1.
When the Quest has been selected from the quest selection panel, that quest button is set as EventSystem.current.currentSelectedGameObject, and seems to be stuck that was even though that button is now inactive and I am trying to use SetSelectedGameObject to change it to a different button. Is there something overwriting this selection? I can manually click on another button with the mouse but I can't toggle to different buttons from the controller.
2.
When I try to set the first task in the list as the current selection, it doesn't work.
I tried this:
Code: Select all
activeChildrenTasks = taskList.taskListContainer.GetComponentsInChildren<StandardUIQuestTitleButtonTemplate>();
EventSystem.current.SetSelectedGameObject(null);
EventSystem.current.SetSelectedGameObject(activeChildrenTasks[0].gameObject);