NewMyBook/Assets/Scripts/AIquestionAnswerImage.cs
2025-03-28 16:07:42 +08:00

30 lines
890 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class AIquestionAnswerImage : MonoBehaviour
{
public Button btnReturn;
// Start is called before the first frame update
void Start()
{
btnReturn.onClick.AddListener(OnBbtnEndClick);
}
// Update is called once per frame
void Update()
{
}
private void OnBbtnEndClick()
{
GameManager.Instance.infoTGo.text = GameManager.Instance.infoShow.ParseClickableText("你好啊,我是你的助手小知\r\n你想了解哪些有关船的知识呢\r\n点击各个船的图片可以查看船的结构哦!\r\n\n\n[我想进入上一阶段的学习]\r\n[我结束今天的学习]");
GameManager.Instance.showVideoPlayer("StartMP4.mp4");
GameManager.Instance.ImgMask.SetActive(false);
this.gameObject.SetActive(false);
}
}