Ejemplo n.º 1
0
#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;
            }
        }
Ejemplo n.º 2
0
 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;
     }
 }