Documents/Quiz/Assets/Scripts/QuizInput.cs

22 lines
453 B
C#
Raw Normal View History

2018-05-29 19:26:24 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
[System.Serializable]
public class QuizInput
{
public Button button;
public TextMeshProUGUI text;
public Image correctImage;
public Image incorrectImage;
public void Reset()
{
text.text = "";
correctImage.gameObject.SetActive(false);
incorrectImage.gameObject.SetActive(false);
}
}