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 MyGuiScreenEditorProgress CurrentScreen = null; // This is always filled with reference to actual instance of this scree. If there isn't, it's null. public MyGuiScreenEditorProgress(MyTextsWrapperEnum progressText, bool enableCancel) : base(progressText, enableCancel) { CurrentScreen = this; }