i am new to coding but how would i make a tips and tricks menu whenever a scene is played, using UI text. the text would also be randomly chosen from a small list of hints, please help. i use Unity 4.6.
Make an array of strings and randomly assign one to a UI.Text component.
string[] tips = new string[] {
"Tip 1",
"Tip 2",
"Tip 3"};
GetComponent<UnityEngine.UI.Text>().text = tips[Random.Range(0,tips.Length)];