private void OpenGate() { if (activeGateController.IsClosed() && !activeGateController.IsSealed()) { //DLog.Log("Open gate"); int indexOfActiveStage = stages.IndexOf(activeStage); NotifyStageCycle(indexOfActiveStage + 1, StageCycle.Clear); activeGateController.Open(); activeGateComponent = new GateComponent(activeGateController); AddComponent(activeGateComponent); } }