Hi guys , im new here and dont know much about c# so i need a litle help. I want to create an educational quizz which can help student for theyre exam :
Right now im trying to create a script which show randomly question.But i dont know which command line to use . I wanted to do a class something like this
using UnityEngine;
using System.Collections;
public class question : MonoBehaviour {
private string quest; // here i enter the question
private string AnswerTrue; // here answer 1
private string AnswerFalse; //here answer 2
private string AnswerFalse2; //here answer 3
}
So what i want to do is to show the string from “quest” in the texte field, top of the screen (you can see it in the picture) , and “AnswerTrue”," AnswerFalse",“AnswerFalse2” in the the Button texte.
Sorry for my bad english.If anyone can help me with a video turorial or just answer to this post it will be very nice
^^
