fixed a bug where text buttons won't respond immediately/esc menu text button to unintentionally "click" the newly-appeared button (ESC -> Return to Main Menu -> Cancel -> Return to ... )

This commit is contained in:
minjaesong
2021-09-17 23:52:10 +09:00
parent 575ed4410b
commit e22518530d
4 changed files with 34 additions and 26 deletions

View File

@@ -106,6 +106,10 @@ abstract class UICanvas(
}
open fun show() {}
open fun hide() {}
/** **DO NOT CALL THIS FUNCTION FOR THE ACTUAL UPDATING OF THE UI — USE update() INSTEAD**
*
* Override this for the actual update. Note that you must update uiItems by yourself. */