public void Activate() { ChoicePair c = choiceEngine.GetNextChoicePair(); SpawnACube(c.goodChoice, goodLabel); SpawnACube(c.badChoice, badLabel); }
public ChoicePair GetNextChoicePair() { if (choices.Count == 0) { Debug.LogError("FATAL: Choice list is empty. No more choices."); } ChoicePair c = choices[0]; choices.RemoveAt(0); return(c); }