20 lines
409 B
C#
20 lines
409 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class Parking : MonoBehaviour
|
|
{
|
|
// Start is called before the first frame update
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
if (Input.GetKeyDown(KeyCode.JoystickButton10))
|
|
{
|
|
|
|
SceneManager.LoadScene("Parking");
|
|
}
|
|
}
|
|
}
|