#pragma warning restore 0649 #pragma warning restore IDE0044 #endregion public void Initialize( TerminalWindow window, ICrewTransferController controller, IPrefabInstantiator prefabInstantiator) { _controller = controller; _labels = controller.SelectedFlightPanelLabels; _prefabInstantiator = prefabInstantiator; _window = window; if (DepartureHeaderLabel != null) { DepartureHeaderLabel.text = _labels.DepartureHeaderLabel; } if (ArrivalHeaderLabel != null) { ArrivalHeaderLabel.text = _labels.ArrivalHeaderLabel; } if (EconomySeatsHeaderLabel != null) { EconomySeatsHeaderLabel.text = _labels.EconomySeatsHeaderLabel; } if (LuxurySeatsHeaderLabel != null) { LuxurySeatsHeaderLabel.text = _labels.LuxurySeatsHeaderLabel; } }
#pragma warning restore 0649 #pragma warning restore 0169 #pragma warning restore IDE0044 #endregion public void Initialize( TerminalWindow window, IPrefabInstantiator prefabInstantiator, ActionPanelLabels labels) { _window = window; if (HeaderLabel != null) { HeaderLabel.text = labels.HeaderLabel; } if (InstructionsLabel != null) { InstructionsLabel.text = labels.InstructionsLabel; } }
public void Initialize(TerminalWindow window, FlightSelectorLabels labels) { _labels = labels; _window = window; if (DepartureHeaderLabel != null) { DepartureHeaderLabel.text = labels.DepartureHeaderLabel; } if (ArrivalHeaderLabel != null) { ArrivalHeaderLabel.text = labels.ArrivalHeaderLabel; } if (Toggle != null) { Toggle.group = window.FlightsListToggleGroup; } }
public void Initialize( TerminalWindow window, IPrefabInstantiator prefabInstantiator, ActionPanelLabels labels) { _prefabInstantiator = prefabInstantiator; _window = window; if (DisembarkButtonLabel != null) { DisembarkButtonLabel.text = labels.ActionButtonLabel; } if (HeaderLabel != null) { HeaderLabel.text = labels.HeaderLabel; } if (InstructionsLabel != null) { InstructionsLabel.text = labels.InstructionsLabel; } if (WarningsHeaderLabel != null) { WarningsHeaderLabel.text = labels.WarningLabel; } }