|
@@ -150,6 +150,7 @@ namespace GFGGame
|
|
_speedAutoPlay = 1;
|
|
_speedAutoPlay = 1;
|
|
FightDataManager.Instance.dialogSpeed = _speedAutoPlay;
|
|
FightDataManager.Instance.dialogSpeed = _speedAutoPlay;
|
|
}
|
|
}
|
|
|
|
+ if (!InstanceZonesDataManager.CheckLevelPass(100001001)) _ui.m_btnBack.visible = false;
|
|
}
|
|
}
|
|
|
|
|
|
protected override void OnHide()
|
|
protected override void OnHide()
|
|
@@ -181,7 +182,7 @@ namespace GFGGame
|
|
private void OnClickBtnNext()
|
|
private void OnClickBtnNext()
|
|
{
|
|
{
|
|
// StopAutoPlay();
|
|
// StopAutoPlay();
|
|
- if(_onScreenEffectComplete != null)
|
|
|
|
|
|
+ if (_onScreenEffectComplete != null)
|
|
{
|
|
{
|
|
Timers.inst.Remove(OnScreenEffectComplete);
|
|
Timers.inst.Remove(OnScreenEffectComplete);
|
|
_onScreenEffectComplete.Invoke(null);
|
|
_onScreenEffectComplete.Invoke(null);
|
|
@@ -392,7 +393,7 @@ namespace GFGGame
|
|
_ui.m_dialogHead.m_comphead.m_holder.visible = true;
|
|
_ui.m_dialogHead.m_comphead.m_holder.visible = true;
|
|
|
|
|
|
var headAniCfg = HeadAniCfgArray.Instance.GetCfg(headAniRes);
|
|
var headAniCfg = HeadAniCfgArray.Instance.GetCfg(headAniRes);
|
|
- if(headAniCfg != null && !string.IsNullOrEmpty(headAniCfg.headAni))
|
|
|
|
|
|
+ if (headAniCfg != null && !string.IsNullOrEmpty(headAniCfg.headAni))
|
|
{
|
|
{
|
|
//¶ÀÁ¢¶¯»
|
|
//¶ÀÁ¢¶¯»
|
|
_ui.m_dialogHead.m_compDressUp.target.visible = false;
|
|
_ui.m_dialogHead.m_compDressUp.target.visible = false;
|
|
@@ -406,7 +407,7 @@ namespace GFGGame
|
|
_ui.m_dialogHead.m_compDressUp.target.visible = true;
|
|
_ui.m_dialogHead.m_compDressUp.target.visible = true;
|
|
_ui.m_dialogHead.m_comphead.target.visible = false;
|
|
_ui.m_dialogHead.m_comphead.target.visible = false;
|
|
_dressUpObjUI.ResetSceneObj(80, true, false, null, false);
|
|
_dressUpObjUI.ResetSceneObj(80, true, false, null, false);
|
|
- if(storyDialogCfg.suitId > 0)
|
|
|
|
|
|
+ if (storyDialogCfg.suitId > 0)
|
|
{
|
|
{
|
|
_dressUpObjUI.dressUpObj.PutOnSuitCfg(storyDialogCfg.suitId, false, new int[] { ConstDressUpItemType.BEI_JING }, false, false);
|
|
_dressUpObjUI.dressUpObj.PutOnSuitCfg(storyDialogCfg.suitId, false, new int[] { ConstDressUpItemType.BEI_JING }, false, false);
|
|
}
|
|
}
|