/// <summary> /// 读取关卡片段(用于游戏中切换) /// </summary> /// <param name="stagePart"></param> public void LoadStagePart(int part) { SwitchStagePart(part); PartChanged(part, currentStagePartIndex); CurrentStagePart.Initialize(); }
/// <summary> /// 读取关卡片段(从该片段开始游戏) /// </summary> /// <param name="stagePart"></param> public virtual void StartFromStagePart(int part) { SwitchStagePart(part); CurrentStagePart.StartFormThis(); CurrentStagePart.Initialize(); }