Пример #1
0
 public void DisplaySecurityHubScreen(MyGuiScreenSecurityControlHUB screenSecurityControlHUB)
 {
     ActiveSecurityHubScreen = screenSecurityControlHUB;
     MyGuiManager.AddScreen(screenSecurityControlHUB);
 }
 public void Use(MySmallShip useBy)
 {
     //if (ConnectedEntityIds.Any())
     //{
     //    MyGuiManager.AddScreen(new MyGuiScreenSecurityControlHUB(useBy, this));
     //}
     var screenSecurityControlHUB = new MyGuiScreenSecurityControlHUB(useBy, this);
     MyGuiScreenGamePlay.Static.DisplaySecurityHubScreen(screenSecurityControlHUB);
 }