This commit is contained in:
Jack Rus
2020-02-02 13:03:45 -05:00
parent 3944996031
commit 33f9042b2b
4 changed files with 165 additions and 190 deletions

View File

@@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class SceneLodarManual : MonoBehaviour
{
public Button button;
// Start is called before the first frame update
void Start()
{
button.onClick.AddListener(LoadScene);
}
void LoadScene()
{
SceneManager.LoadScene("LevelOne");
}
}