_xiaofang/xiaofang/Assets/Script/scheduled_excercise/LoadScene.cs

38 lines
708 B
C#
Raw Normal View History

2024-11-25 16:33:54 +08:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class LoadScene : MonoBehaviour
{
public Button nextBtn;
public Button yesBtn;
// Start is called before the first frame update
void Start()
{
nextBtn.onClick.AddListener(OnClickNextBtn);
yesBtn.onClick.AddListener(OnClickYesBtn);
}
private void OnClickYesBtn()
{
//<2F><><EFBFBD><EFBFBD>дӦ<D0B4>ó<EFBFBD><C3B3><EFBFBD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD>߼<EFBFBD>
}
public void OnClickNextBtn()
{
SceneManager.LoadScene("Schedule_a_walkthrough");
}
// Update is called once per frame
void Update()
{
}
}