28 lines
581 B
C#
28 lines
581 B
C#
|
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.ImgMask.SetActive(false);
|
||
|
this.gameObject.SetActive(false);
|
||
|
}
|
||
|
|
||
|
}
|