22 lines
424 B
C#
22 lines
424 B
C#
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");
|
|
}
|
|
}
|