更新引导
parent
12902827c5
commit
e6fe4b49db
|
|
@ -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类型");
|
||||
|
|
|
|||
|
|
@ -51,9 +51,7 @@
|
|||
"IsComplete": false,
|
||||
"StepStartDelay": 0,
|
||||
"GuideStepType": 9,
|
||||
"GuideTypeParams": [
|
||||
"False"
|
||||
],
|
||||
"GuideTypeParams": [],
|
||||
"GuideCompleteType": 18,
|
||||
"CompleteTypeParams": [],
|
||||
"ArrowDirection": 0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue