mirror of
https://github.com/ConjureETS/GameOff2024.git
synced 2026-03-24 05:00:59 +00:00
21 lines
567 B
C#
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;
|
|
}
|
|
}
|
|
} |