Merge remote-tracking branch 'origin/develop' into feature/HP_move_when_load_terrain_lit
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user