using UnityEngine.UI; using UnityEngine; public class Shop : MonoBehaviour { public Button btnReturn; // Start is called before the first frame update void Start() { btnReturn.onClick.AddListener(OnBbtnEndClick); } // Update is called once per frame private void OnBbtnEndClick() { GameManager.Instance.infoTGo.text = GameManager.Instance.infoShow.ParseClickableText("你好啊,我是你的助手小知\r\n你想了解哪些有关船的知识呢?\r\n红色文字可以点击探索哦\r\n点击小木船的图片会有惊喜哦\r\n\n\n[我想进入下一阶段的学习]"); GameManager.Instance.showVideoPlayer("StartMP4.mp4"); GameManager.Instance.ImgMask.SetActive(false); this.gameObject.SetActive(false); } }