Abdula_2314124

Untitled

Mar 20th, 2024
584
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.30 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.SceneManagement;
  5.  
  6. public class MenuUI : MonoBehaviour
  7. {
  8.     public void Play()
  9.     {
  10.         SceneManager.LoadScene(1);
  11.     }
  12.     public void Quit()
  13.     {
  14.         Application.Quit();
  15.     }
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment