Improve the ordering logic for input handlers in input config.
This commit is contained in:
@@ -143,6 +143,10 @@ namespace Cryville.Crtr.Config {
|
||||
}
|
||||
else flag = true;
|
||||
btn.interactable = flag;
|
||||
obj.transform.SetSiblingIndex(flag ? 1 : m_deviceList.childCount - 1);
|
||||
}
|
||||
else {
|
||||
obj.transform.SetSiblingIndex(0);
|
||||
}
|
||||
btn.onClick.AddListener(() => {
|
||||
CloseDialog(src);
|
||||
|
Reference in New Issue
Block a user