Esempio n. 1
0
    //Logic for which dialogue option is loaded via switch statement
    public void SetStringList()
    {
        switch (dialogue.value)
        {
        case 1:
            currentList = listOne;
            break;

        case 2:
            currentList = listTwo;
            Debug.Log("HEY");
            break;

        case 3:
            currentList = listThree;
            break;

        case 4:
            currentList = listFour;
            break;

        case 5:
            currentList = listFive;
            break;
        }
    }
Esempio n. 2
0
 public void UpdateText(StringListData stringListDataObj)
 {
     textObj.text = stringListDataObj.ReturnCurrentLine();
 }
Esempio n. 3
0
 void UpdateStringData(StringListData stringListDataObj)
 {
     textObj.text = stringListDataObj.ReturnCurrentLine();
 }