45 lines
754 B
C#
45 lines
754 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
|
|
public class ControlQuest : MonoBehaviour
|
|
{
|
|
[System.Serializable]
|
|
public class Soal
|
|
{
|
|
[System.Serializable]
|
|
public class ElementSoal
|
|
{
|
|
[TextArea]
|
|
public string soal;
|
|
|
|
public Sprite spriteSoal;
|
|
|
|
public string[] jawabans;
|
|
|
|
public Sprite[] spriteJawabans;
|
|
|
|
public int jawabanBenar;
|
|
}
|
|
|
|
public ElementSoal elementSoal;
|
|
}
|
|
|
|
public List<Soal> soals;
|
|
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|