|
@@ -14,7 +14,8 @@ namespace GFGGame
|
|
{
|
|
{
|
|
IN,
|
|
IN,
|
|
IDLE,
|
|
IDLE,
|
|
- OPEN
|
|
|
|
|
|
+ OPEN,
|
|
|
|
+ OUT
|
|
}
|
|
}
|
|
|
|
|
|
private UI_CreateRoleUI _ui;
|
|
private UI_CreateRoleUI _ui;
|
|
@@ -47,7 +48,7 @@ namespace GFGGame
|
|
// this.viewCom.Center();
|
|
// this.viewCom.Center();
|
|
this.isfullScreen = true;
|
|
this.isfullScreen = true;
|
|
this.clickBlankToClose = false;
|
|
this.clickBlankToClose = false;
|
|
- this.modal = true;
|
|
|
|
|
|
+ this.modal = false;
|
|
|
|
|
|
_ui.m_loaBg.url = ResPathUtil.GetBgImgPath("bg_yaoqinghan");
|
|
_ui.m_loaBg.url = ResPathUtil.GetBgImgPath("bg_yaoqinghan");
|
|
_ui.m_envelopeModel.m_btnSure.onClick.Add(OnClickBtnSure);
|
|
_ui.m_envelopeModel.m_btnSure.onClick.Add(OnClickBtnSure);
|
|
@@ -87,6 +88,12 @@ namespace GFGGame
|
|
_ui.m_envelopeModel.m_t_Idle.Stop();
|
|
_ui.m_envelopeModel.m_t_Idle.Stop();
|
|
_ui.m_t_Open.Play();
|
|
_ui.m_t_Open.Play();
|
|
break;
|
|
break;
|
|
|
|
+ case State.OUT:
|
|
|
|
+ _ui.m_t_AfterOpen.Play(()=>
|
|
|
|
+ {
|
|
|
|
+ this.Hide();
|
|
|
|
+ });
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -132,7 +139,7 @@ namespace GFGGame
|
|
if (result)
|
|
if (result)
|
|
{
|
|
{
|
|
StorageSProxy.ReqSetClientValue(ConstStorageId.CHANGE_NAME, 1).Coroutine();
|
|
StorageSProxy.ReqSetClientValue(ConstStorageId.CHANGE_NAME, 1).Coroutine();
|
|
- this.Hide();
|
|
|
|
|
|
+ ChangeAnimationState(State.OUT);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|