Added GameObjects for selecting ANY chapter
You can now enter all the chapters via the corresponding buttons
This commit is contained in:
11
Assets/Scenes/LoreScenes/toCh2.cs
Normal file
11
Assets/Scenes/LoreScenes/toCh2.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class ToCh2 : MonoBehaviour
|
||||
{
|
||||
// Method to load the "Lore" scene
|
||||
public void LoadCh2()
|
||||
{
|
||||
SceneManager.LoadScene("Chapter2");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user