45 lines
647 B
C#
45 lines
647 B
C#
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using UnityEngine;
|
||
|
||
/// <summary>
|
||
/// 用于根据类型创建问题
|
||
/// </summary>
|
||
public class CreateQuestion : MonoBehaviour
|
||
{
|
||
|
||
|
||
|
||
|
||
|
||
// Start is called before the first frame update
|
||
void Start()
|
||
{
|
||
|
||
}
|
||
|
||
// Update is called once per frame
|
||
void Update()
|
||
{
|
||
|
||
}
|
||
}
|
||
|
||
public class QusetionMsg
|
||
{
|
||
//问题类型,0判断,1选择,2多选
|
||
public int QuesType = 0;
|
||
|
||
//题目序号
|
||
public int QuesNum = 0;
|
||
|
||
//问题内容
|
||
public string QuestionText;
|
||
|
||
//问题选项
|
||
public string[] QuestionSelects;
|
||
|
||
//问题答案
|
||
public int[] QuesAnswers;
|
||
}
|