void updateQuestSpeak(int dem) { result = dataLoaderSpeak.GetDataValue(dataLoaderSpeak.items[dataLoaderSpeak.indexquests[dem]], "Kanji:").Trim(); gameObject.GetComponent <TextMesh>().text = result; }
private void Start() { dataLoaderSpeak = Camera.main.GetComponent <DataLoaderSpeak>(); result = dataLoaderSpeak.GetDataValue(dataLoaderSpeak.items[dataLoaderSpeak.indexquests[dem]], "Kanji:").Trim(); gameObject.GetComponent <TextMesh>().text = result; }