更新引导

main
yurui 2024-10-16 14:27:06 +08:00
parent 12902827c5
commit e6fe4b49db
2 changed files with 3 additions and 6 deletions

View File

@ -840,9 +840,8 @@ namespace Gameplay.Guide
public WaitLevelOver(DataGuideCfg cfg) : base(cfg)
{
if (Cfg.GuideTypeParams.Length <= 0)
this.isContinue = false;
if (Cfg.GuideTypeParams.Length > 0 && bool.TryParse(Cfg.GuideTypeParams[0], out bool isContinue))
isContinue = false;
else if (Cfg.GuideTypeParams.Length > 0 && bool.TryParse(Cfg.GuideTypeParams[0], out bool isContinue))
this.isContinue = isContinue;
else
throw new Exception($"引导id{Cfg.Id}, 引导类型:{Cfg.GuideStepType}第1个参数类型错误应该为bool类型");

View File

@ -51,9 +51,7 @@
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 9,
"GuideTypeParams": [
"False"
],
"GuideTypeParams": [],
"GuideCompleteType": 18,
"CompleteTypeParams": [],
"ArrowDirection": 0,