BloodAndGore/Assets/Scripts/GUI/BackToMainMenuButton.cs

15 lines
356 B
C#
Raw Normal View History

2019-08-04 14:36:42 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
2019-08-14 16:17:48 +02:00
namespace Saltosion.OneWeapon.GUI {
2019-08-07 20:03:51 +02:00
public class BackToMainMenuButton : MonoBehaviour {
2019-08-22 21:41:54 +02:00
public string MainMenuScene;
2019-08-04 14:36:42 +02:00
public void BackToMainMenu() {
SceneManager.LoadScene(MainMenuScene);
}
}
}