MIF_E31211846/Assets/Scripts/GameAkhir.cs

28 lines
518 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameAkhir : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void Menu(string sceneName)
{
SceneManager.LoadScene(sceneName);
}
public void Kembali(string sceneName)
{
SceneManager.LoadScene(sceneName);
}
}