コード例 #1
0
    /// <summary>
    /// Method responsible for seting up the Dialogue
    /// </summary>
    public void PrepareNewDialogue()
    {
        //Display Specificationss
        effectSpeed = new WaitForSeconds(displaySpeed);

        shadow.SetActive(true);

        //Initialize First Line
        dialogueLine = currentScript.GetNodeByIndex(0);
        dialogueText = currentScript.GetNodeByIndex(0).Dialogue;
        currentGUID  = currentScript.GetNodeByIndex(0).GUID;

        //Handle button Layout
        InstatiateChoices();
        DisplayLine();
    }