using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
using System;
public class TextController : MonoBehaviour {
private bool bStart = true;
private string instructions = "You have the following commands at your disposal:\n" +
"*\tFirst Verse, Second Verse\n" +
"*\tFirst Chorus, Second Chorus, Third Chorus\n" +
"*\tFirst Bridge, Second Bridge";
private Text text;
private LyricList lineList = new LyricList();
private InputField inputField;
private string newState;
// Use this for initialization
void Start () {
// Get the text child object from the Canvas
text = gameObject.GetComponent ();
// Get the input field child object from the Canvas
inputField = gameObject.GetComponentInChildren ();
//CreateAssetMenuAttribute on Lyric List
lineList.CreateList ();
text.text = ("Please reassemble the song lyrics!\n" + instructions + "\n\nStart guessing to begin!\n\n");
}
↧