21 lines
408 B
C#
21 lines
408 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class QFP_EndButton : MonoBehaviour
|
|
{
|
|
private Button thisBtn;
|
|
|
|
private void Awake()
|
|
{
|
|
thisBtn = GetComponent<Button>();
|
|
thisBtn.onClick.AddListener(HandleClick);
|
|
}
|
|
|
|
private void HandleClick()
|
|
{
|
|
QFP_QuestionManager.instance.RevealAnswers();
|
|
}
|
|
}
|