Пример #1
0
    public void FinishedDisplayingText()
    {
        // Show the continue or period icon if there is or isn't more dialogue repectively
        // time out panel after a beat once the line is there.
        // if the node being run has the sub tag, start the counter
        string tagsLine = string.Join(" ", DR.GetTagsForNode(DR.CurrentNodeName));

        if (tagsLine.Contains("sub") || (autoAdvanceOverWorldText == true))
        {
            //Debug.Log("starting speaker panel timeout");
            StartCoroutine(TimeOutSpeakerPanel());
        }
        if (Director.Dir.showTip_1)
        {
            Director.Dir.StartFadeCanvasGroup(GameObject.Find("Tip_1"), "in", 0.5f, 1f);
        }
    }