how do you create a Descending GUI List? Whenever I try to set up a GUI list I get this blob of text. What am I doing wrong?
using UnityEngine;
using System.Collections;
public class ListofAnimals:MonoBehaviour{
List<string> animals = new List<string>();
Void OnGUI(){
Animals.add("Zebra");
Animals.add("Cheetah");
Animals.add("Elephant");
foreach(string animal in animals)
{
GUI.Label(new Rect(0, 0, 125, 125), animal.ToString());
}
}
}