public override bool CloseScreen() { bool ret = base.CloseScreen(); if (ret == true) { CurrentScreen = null; } return(ret); }
public override bool CloseScreen() { bool ret = base.CloseScreen(); if (ret == true) { CurrentScreen = null; } return ret; }
public static MyGuiScreenEditorLoadObjectGroupsProgress CurrentScreen = null; // This is always filled with reference to actual instance of this scree. If there isn't, it's null. public MyGuiScreenEditorLoadObjectGroupsProgress(MyTextsWrapperEnum loadingText, MyMwcSectorIdentifier sectorIdentifier) : base(loadingText, false, TimeSpan.FromSeconds(360)) { CurrentScreen = this; m_sectorIdentifier = sectorIdentifier; }