public MyGuiScreenMedicals() : base(new Vector2(0.85f, 0.5f), MyGuiConstants.SCREEN_BACKGROUND_COLOR, new Vector2(0.95f, 0.8f)) { Static = this; EnabledBackgroundFade = true; CloseButtonEnabled = false; m_closeOnEsc = false; m_selectedRespawnShip = null; RecreateControls(true); }
public MyGuiScreenMedicals() : base(new Vector2(0.85f, 0.5f), MyGuiConstants.SCREEN_BACKGROUND_COLOR, new Vector2(0.95f, 0.8f)) { Static = this; EnabledBackgroundFade = true; CloseButtonEnabled = false; m_closeOnEsc = false; m_selectedRespawnShip = null; RecreateControls(true); }
public MyGuiScreenMedicals(bool showPermaDeath = true) : base(new Vector2(0.85f, 0.5f), MyGuiConstants.SCREEN_BACKGROUND_COLOR, new Vector2(0.95f, 0.8f)) { Static = this; EnabledBackgroundFade = true; CloseButtonEnabled = false; m_closeOnEsc = false; m_selectedRespawnShip = null; this.showPermaDeath = showPermaDeath; RecreateControls(true); if (MySandboxGame.IsPaused == false) { MySandboxGame.UserPauseToggle(); } }