Files
game-demo/Assets/scripts/StartGame.cs

13 lines
277 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class StartGame : MonoBehaviour
{
public void Startgame()
{
SceneManager.LoadScene("SampleScene");
}
}