/// <summary> /// Will destroy current form and will load loading screebn /// </summary> public void DestroyCurrLoadLoading() { CamControl.ChangeTo("Game"); current.Destroy(); LoadLoadingScreen(); }
/// <summary> /// CAlled from Release loading screen, only needed for 2nd game loaded /// </summary> internal void ReActivateGUIIfNeeded() { main.Destroy(); main = null; LoadMainGUI(); if (main != null) { ShowMainGUI(); } }
public void DestroyForm() { if (_currForm != null) { _currForm.Destroy(); _currForm = null; } }