// Use this for initialization void Start() { dblist.dbShuffle(); questionDataBase = dblist.getDataBaseList(0); questionDataBase.shuffle(); for (int i = 0; i < 5; i++) { result [i] = 0; } }
public void reset() { dblist.dbShuffle(); questionDataBase = dblist.getDataBaseList(0); questionDataBase.shuffle(); scene = 0; num = 0; int i; for (i = 0; i < 5; i++) { result[i] = 0; } }
// Update is called once per frame void Update() { questionDataBase = dir.GetComponent <Director> ().questionDataBase; this.GetComponent <Text> ().text = questionDataBase.getQuizLists() [dir.GetComponent <Director> ().num].getQuestion(); }