-
Notifications
You must be signed in to change notification settings - Fork 0
Home
End3r6 edited this page Feb 2, 2024
·
1 revision
Welcome to the LeafyDialogue Wiki!
Here are the instructions for setting up and extending the system:
- Download the project and extract the folder. Then drag it into your Assets folder.
- You need to set up a UI and a button prefab for choice events. The ButtonChoiceBroadcaster script is all that's needed for this prefab. Set the BroadcastName as the OnClick event for the button and you're good to go.
- Next, drag the Dialogue Reader onto your character. You can set up dialogue trees in the Dialogue Tree component that gets added.
- After that, add the UI Manager to this reader and add a trigger script. You can make your own as needed or use the premade trigger-by-distance script.
- Lastly, enjoy the dialogue!