|
@@ -653,8 +653,8 @@ namespace Fort23.Mono
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
public void SetfxTransImageVisiable(bool b, int type = 0)
|
|
|
{
|
|
|
switch (type)
|
|
@@ -707,20 +707,15 @@ namespace Fort23.Mono
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- HideDialogBox(false);
|
|
|
- // if (guideConfig.SpeakerStyle == 3)
|
|
|
- // {
|
|
|
- // HideDialogBox(false);
|
|
|
- // }
|
|
|
- // else
|
|
|
- // {
|
|
|
- // HideDialogBox();
|
|
|
- // }
|
|
|
- // if (IsUseServerData)
|
|
|
- // {
|
|
|
- // PlayerManager.Instance.PlayerGuideDataComponent.UpdateData(configID);
|
|
|
- // await HttpSendManager.Instance.SendSaveGuideDataRequest(configID, SaveGuideDataCallBack); //记录服务器
|
|
|
- // }
|
|
|
+ if (guideConfig.desc == -1)
|
|
|
+ {
|
|
|
+ HideDialogBox();
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ HideDialogBox(false);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
if (guideConfig.IsSkip == 1)
|
|
|
{
|
|
@@ -737,7 +732,6 @@ namespace Fort23.Mono
|
|
|
|
|
|
int[] fPos = guideConfig.fingerPos;
|
|
|
int[] dPos = guideConfig.dialogPos;
|
|
|
-
|
|
|
|
|
|
|
|
|
isReadFingerPos = true;
|
|
@@ -747,14 +741,13 @@ namespace Fort23.Mono
|
|
|
SetFingerPos(fPos);
|
|
|
|
|
|
SetDialogPos(dPos);
|
|
|
-
|
|
|
+
|
|
|
SetBlackBaseVisiable(true);
|
|
|
|
|
|
SetBlackAlpha(guideConfig.blackAlpha);
|
|
|
ShowDialogBox(action, str);
|
|
|
await dialogBox.SetDiTex(guideConfig, guideConfig.SpeakerImage);
|
|
|
UIManager.Instance.SetEventSystemEnable(true);
|
|
|
-
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
@@ -1219,15 +1212,6 @@ namespace Fort23.Mono
|
|
|
_customVectorTween?.Kill();
|
|
|
_customVectorTween = null;
|
|
|
UIManager.Instance.GetComponent<GuidePanel>().transform.SetAsLastSibling();
|
|
|
-
|
|
|
- // if (guideConfig.SpeakerStyle == 3)
|
|
|
- // {
|
|
|
- // HideDialogBox(false);
|
|
|
- // }
|
|
|
- // else
|
|
|
- // {
|
|
|
- // HideDialogBox();
|
|
|
- // }
|
|
|
HideDialogBox();
|
|
|
SetfxTransVisiable(false);
|
|
|
SetMaskTarget(null);
|