public APINumbers GetRandomNumber() { int l = numbersList.Count(); int rand = Random.Range(0, l); APINumbers n = numbersList.ElementAt <APINumbers>(rand); numbersList.Remove(n); return(n); }
public string GetRandomLabel() { currentNumber = apiController.GetRandomNumber(); return(currentNumber.label); }