H_SafeExperienceDrivingSystem/U3D_DrivingSystem/Assets/Script/Old/Parking.cs

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");
}
}
}