コード例 #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;
     }
 }