ISAP/Assets/Scripts/UI/UIRightAnswer.cs

14 lines
310 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIRightAnswer : UIBase
{
public Button returnBtn;
private void Awake()
{
returnBtn.onClick.AddListener(() => { UIManager.Instance.DestoryUI(UIType.UIRightAnswer); });
}
}