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.showVideoPlayer("d544ee389b313a457470fab9b220f981.mp4"); GameManager.Instance.ImgMask.SetActive(false); this.gameObject.SetActive(false); } }