Files
RatStabber/Assets/MainMenuUI/LoreToMainMenu.cs
Iazubi 3b08467326 Transition from Lore to Main and vice versa
Bottom left buttons transitions to the lore page and vice versa
2024-10-25 17:06:20 -07:00

12 lines
233 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
public class LoreToMainMenu : MonoBehaviour
{
// Method to load the "mainMenu" scene
public void LoadMainMenu()
{
SceneManager.LoadScene("mainMenu");
}
}