GameOff2024/Assets/Scripts/Quiz/QuestionInfo.cs
2024-11-09 07:26:07 -05:00

21 lines
567 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace GameOff.Quiz
{
public struct QuestionInfo
{
public int Index { get; private set; }
public Sprite Question { get; private set; }
public List<string> Choices{ get; private set; }
public string Answer{ get; private set; }
public QuestionInfo(int index, Sprite question, List<string> choices, string answer)
{
Index = index;
Question = question;
Choices = choices;
Answer = answer;
}
}
}