public MyGuiScreenScenarioMpBase() : base(position: new Vector2(0.5f, 0.5f), backgroundColor: MyGuiConstants.SCREEN_BACKGROUND_COLOR, size: new Vector2(1620f, 1125f) / MyGuiConstants.GUI_OPTIMAL_SIZE) { RecreateControls(true); CanHideOthers = false; MySyncScenario.PlayerReadyToStartScenario += MySyncScenario_PlayerReady; MySyncScenario.TimeoutReceived += MySyncScenario_SetTimeout; MySyncScenario.CanJoinRunningReceived += MySyncScenario_SetCanJoinRunning; m_canJoinRunning.IsCheckedChanged += OnJoinRunningChecked; Static = this; }
public MyGuiScreenScenarioMpBase() : base(position: new Vector2(0.5f, 0.5f), backgroundColor: MyGuiConstants.SCREEN_BACKGROUND_COLOR, size: new Vector2(1620f, 1125f) / MyGuiConstants.GUI_OPTIMAL_SIZE) { RecreateControls(true); CanHideOthers = false; MySyncScenario.PlayerReadyToStartScenario += MySyncScenario_PlayerReady; MySyncScenario.TimeoutReceived += MySyncScenario_SetTimeout; MySyncScenario.CanJoinRunningReceived += MySyncScenario_SetCanJoinRunning; m_canJoinRunning.IsCheckedChanged += OnJoinRunningChecked; Static = this; }