Ejemplo n.º 1
0
 private void WaitForGateFullyOpenThenActiveStageActivator()
 {
     if (!isGateOpenedLastTimeCheck && activeGateController.IsOpened())
     {
         isGateOpenedLastTimeCheck = true;
         int indexOfActiveGate = gates.IndexOf(activeGateController);
         NotifyGateCycle(indexOfActiveGate + 1, GateCycle.Opened);
         activeStageActivatorComponent = new StageActivatorComponent(activeStageActivator);
         AddComponent(activeStageActivatorComponent);
     }
 }