Transition from Lore to Main and vice versa

Bottom left buttons transitions to the lore page and vice versa
This commit is contained in:
Iazubi
2024-10-25 17:06:20 -07:00
parent 6288257854
commit 3b08467326
9 changed files with 398 additions and 21 deletions

View File

@@ -0,0 +1,11 @@
using UnityEngine;
using UnityEngine.SceneManagement;
public class LoreToMainMenu : MonoBehaviour
{
// Method to load the "mainMenu" scene
public void LoadMainMenu()
{
SceneManager.LoadScene("mainMenu");
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: c05a531b177d1984b85027308cbc9dea

View File

@@ -0,0 +1,11 @@
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenuToLore : MonoBehaviour
{
// Method to load the "Lore" scene
public void LoadLoreScene()
{
SceneManager.LoadScene("Lore");
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 9637e4167ef18934eb14d7ff957d9729