private void AddUseObjectControl(MyCharacter character) { if (character.IsUseObjectOfType<MyUseObjectDoorTerminal>() || character.IsUseObjectOfType<MyUseObjectTerminal>() || character.IsUseObjectOfType<MyUseObjectTextPanel>()) { m_terminalControlHelper.SetLabel(MySpaceTexts.ControlMenuItemLabel_ShowControlPanel); m_controlMenu.AddItem(m_terminalControlHelper); } else if (character.IsUseObjectOfType<MyUseObjectInventory>()) { m_terminalControlHelper.SetLabel(MySpaceTexts.ControlMenuItemLabel_OpenInventory); m_controlMenu.AddItem(m_terminalControlHelper); } else if (character.IsUseObjectOfType<MyUseObjectPanelButton>()) { m_terminalControlHelper.SetLabel(MySpaceTexts.ControlMenuItemLabel_SetupButtons); m_controlMenu.AddItem(m_terminalControlHelper); } //else if (character.IsUseObjectOfType<MyUseObjectWardrobe>()) //{ // m_terminalControlHelper.SetLabel(MySpaceTexts.ControlMenuItemLabel_Wardrobe); // m_controlMenu.AddItem(m_terminalControlHelper); //} }