22 lines
463 B
C#
22 lines
463 B
C#
using UnityEditor.SearchService;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class CreditButton : MonoBehaviour
|
|
{
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
public void LoadGameScene()
|
|
{
|
|
Debug.Log("Button pressed");
|
|
UnityEngine.SceneManagement.SceneManager.LoadScene("CreditScene");
|
|
}
|
|
}
|