예제 #1
0
    void Parse()
    {
        if (index >= list.dataList.Count)
        {
            this.enabled = false;
            text.gameObject.SetActive(false);
            speaker.gameObject.SetActive(false);
            speechBubble.SetActive(false);
            return;
        }
        GenericData data = list.dataList[index];

        if (data.type == typeof(TMP_Text))
        {
            data.DoEffect(text, speaker);
        }

        if (data.type == typeof(Camera))
        {
        }

        index++;
    }