Files
RatStabber/Assets/Scenes/MenuToSample.cs
Iazubi 33120cb9aa Background + Buttons
Added Background Image to Main Menu and added Buttons to enter or leave the game.
2024-10-25 14:52:32 -07:00

12 lines
233 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneLoader : MonoBehaviour
{
// Method to load the "SampleScene"
public void LoadSampleScene()
{
SceneManager.LoadScene("SampleScene");
}
}