20 lines
410 B
C#
20 lines
410 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
using UnityEngine.UI;
|
|
|
|
public class Parking_Manager : MonoBehaviour
|
|
{
|
|
public Button byn1;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
byn1.onClick.AddListener(ResTART);
|
|
}
|
|
void ResTART()
|
|
{
|
|
SceneManager.LoadScene("main");
|
|
}
|
|
}
|