mirror of
https://github.com/ConjureETS/GameOff2024.git
synced 2026-03-24 05:00:59 +00:00
17 lines
369 B
C#
17 lines
369 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace GameOff.UI.Answer
|
|
{
|
|
public class AnswerUI: MonoBehaviour
|
|
{
|
|
[SerializeField] private Text number;
|
|
[SerializeField] private Text answer;
|
|
|
|
public void SetUp(int index, string choice)
|
|
{
|
|
number.text = index.ToString();
|
|
answer.text = choice;
|
|
}
|
|
}
|
|
} |