|
@@ -69,20 +69,15 @@ namespace GFGGame
|
|
|
base.Dispose();
|
|
|
}
|
|
|
|
|
|
- protected override void Init()
|
|
|
+ protected override void OnInit()
|
|
|
{
|
|
|
- base.Init();
|
|
|
+ base.OnInit();
|
|
|
packageName = UI_StoryDialogUI.PACKAGE_NAME;
|
|
|
_ui = UI_StoryDialogUI.Create();
|
|
|
viewCom = _ui.target;
|
|
|
isfullScreen = true;
|
|
|
- isReturnView = true;
|
|
|
|
|
|
- }
|
|
|
-
|
|
|
- protected override void OnInit()
|
|
|
- {
|
|
|
- base.OnInit();
|
|
|
+ isReturnView = true;
|
|
|
_ui.m_dialogText.target.visible = false;
|
|
|
_ui.m_dialogName.target.visible = false;
|
|
|
_ui.m_dialogHead.target.visible = false;
|
|
@@ -153,12 +148,13 @@ namespace GFGGame
|
|
|
FightDataManager.Instance.dialogSpeed = _speedAutoPlay;
|
|
|
}
|
|
|
|
|
|
- if (IsTeaParty) {
|
|
|
+ if (IsTeaParty)
|
|
|
+ {
|
|
|
_ui.m_c1.selectedIndex = 2;
|
|
|
}
|
|
|
|
|
|
_ui.m_btnBack.visible = InstanceZonesDataManager.CheckLevelPass(100001001);
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
|
|
|
protected override void OnHide()
|