2019-08-04 14:36:42 +02:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.SceneManagement;
|
|
|
|
|
|
|
|
|
|
namespace Saltosion.OneWeapon.Menus {
|
2019-08-07 20:03:51 +02:00
|
|
|
|
public class BackToMainMenuButton : MonoBehaviour {
|
2019-08-04 14:36:42 +02:00
|
|
|
|
public int MainMenuScene;
|
|
|
|
|
|
|
|
|
|
public void BackToMainMenu() {
|
|
|
|
|
SceneManager.LoadScene(MainMenuScene);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|