Transition from Lore to Main and vice versa
Bottom left buttons transitions to the lore page and vice versa
This commit is contained in:
11
Assets/MainMenuUI/MainMenuToLore.cs
Normal file
11
Assets/MainMenuUI/MainMenuToLore.cs
Normal 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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user