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/toCh6.cs
Normal file
11
Assets/Scenes/LoreScenes/toCh6.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class ToCh6 : MonoBehaviour
|
||||
{
|
||||
// Method to load the "Lore" scene
|
||||
public void LoadCh6()
|
||||
{
|
||||
SceneManager.LoadScene("Chapter6");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user