예제 #1
0
    /// <summary>
    /// Will destroy current form and will load loading screebn
    /// </summary>
    public void DestroyCurrLoadLoading()
    {
        CamControl.ChangeTo("Game");

        current.Destroy();
        LoadLoadingScreen();
    }
예제 #2
0
    /// <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();
        }
    }
예제 #3
0
 public void DestroyForm()
 {
     if (_currForm != null)
     {
         _currForm.Destroy();
         _currForm = null;
     }
 }