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