Example #1
0
        private void LoadButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
        {
            // TEMP: Show load window
            //uiManager.PushWindow(new DaggerfallLoadSavedGameWindow(uiManager));

            DaggerfallUnitySaveGameWindow loadWindow = new DaggerfallUnitySaveGameWindow(uiManager, DaggerfallUnitySaveGameWindow.Modes.LoadGame, this);

            uiManager.PushWindow(loadWindow);
        }
Example #2
0
        private void SaveButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
        {
            //// TEMP: Quick save
            //SaveLoadManager.Instance.QuickSave();
            //CancelWindow();

            DaggerfallUnitySaveGameWindow saveWindow = new DaggerfallUnitySaveGameWindow(uiManager, DaggerfallUnitySaveGameWindow.Modes.SaveGame, this);

            uiManager.PushWindow(saveWindow);
        }
        private void SaveButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
        {
            //// TEMP: Quick save
            //SaveLoadManager.Instance.QuickSave();
            //CancelWindow();

            DaggerfallUnitySaveGameWindow saveWindow = new DaggerfallUnitySaveGameWindow(uiManager, DaggerfallUnitySaveGameWindow.Modes.SaveGame, this);
            uiManager.PushWindow(saveWindow);
        }
        private void LoadButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
        {
            // TEMP: Show load window
            //uiManager.PushWindow(new DaggerfallLoadSavedGameWindow(uiManager));

            DaggerfallUnitySaveGameWindow loadWindow = new DaggerfallUnitySaveGameWindow(uiManager, DaggerfallUnitySaveGameWindow.Modes.LoadGame, this);
            uiManager.PushWindow(loadWindow);
        }