Merge remote-tracking branch 'origin/develop' into feature/HP_move_when_load_terrain_lit

This commit is contained in:
Tungdv
2026-05-07 17:59:02 +07:00
16 changed files with 523 additions and 30 deletions
+8
View File
@@ -53,6 +53,13 @@ namespace BrewMonster.UI
private void OnDisable()
{
_btnEnterGame.onClick.RemoveListener(OnClickedEnterGame);
if (_showModelReadyCoroutine != null)
{
StopCoroutine(_showModelReadyCoroutine);
_showModelReadyCoroutine = null;
}
_pendingShowModelRoleId = -1;
HostPlayerPortraitCapture.Instance?.ClearPortrait();
_selectingCharacterItemUI = null;
}
@@ -242,6 +249,7 @@ namespace BrewMonster.UI
private void OnClickedExit()
{
HostPlayerPortraitCapture.Instance?.ClearPortrait();
_onExit?.Invoke();
gameObject.SetActive(false);