Beispiel #1
0
 //清空剧情相关的数据
 void ClearAllPlotData()
 {
     PlotPauseState.Reset();;
     GhostUnits.Clear();
     GhostSelUnits.Clear();
     GhostMoveUnits.Clear();
     GhostAIUnits.Clear();
     GhostAnimUnits.Clear();
 }
Beispiel #2
0
 /// <summary>
 /// 启动剧情,自定义
 /// </summary>
 public void SetPlotPause(bool b, int type = 0)
 {
     PlotPauseState.Push(b);
     OnPlotPause(b, PlotPauseState.IsIn(), type);
 }
Beispiel #3
0
 public bool IsInPlotPause() => PlotPauseState.IsIn();