Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Adding a Flowchart
Let's add a Fungus Flowchart which we will use in the next chapters, along with a text element (for displaying messages).
Flowchart Creation
From menu Tools > Fungus > Create select Flowchart, which will add a Flowchart in the scene. Select it in the Hierarchy panel and click the Open Flowchart Window button: the corresponding panel will pop up.
Rename the Flowchart as MainFlowchart in the Inspector panel.
Renaming the 'Start' Block
Inside the Flowchart, select NewBlock and, in the Inspector, rename it Start.
Creating a Text Element
From the menu GameObject > UI select Text, and a text element will be generated in the scene. select it and give it a look you like (mine is shown below).
Show a Welcome Message
Let's add a welcome message to the text. Select the Start block in the Flowchart and click the + button, selecting the UI > Set Text command.
Select the just created command and drag the Text gameobject from the Hierarchy panel into the Target Text Object field. Lastly, add a welcome message in the Text field.