コード例 #1
0
ファイル: ContinueSystem.cs プロジェクト: playgen/it-alert
 public void Tick(int currentTick)
 {
     foreach (var match in _continueMatcherGroup.MatchingEntities)
     {
         if (match.Component1.ActivationState == match.Component2.ContinueOn)
         {
             _tutorialSystem.SetContinue();
         }
     }
 }
コード例 #2
0
ファイル: ContinueCommand.cs プロジェクト: playgen/it-alert
 protected override bool TryHandleCommand(ContinueCommand command, int currentTick, bool handlerEnabled)
 {
     _tutorialSystem.SetContinue();
     return(true);
 }