Reply To: Working With ScriptableObjects

FlowCanvas Forums Support Working With ScriptableObjects Reply To: Working With ScriptableObjects

#1335
Gavalakis
Keymaster

Hey,

Bellow, I have created some barebones dialogue nodes for you to try out and expand. They are just simple examples of course 🙂
There is one node for Saying Dialogue and another for what would be a MultipleChoice. None of the two really work right now because they both need some sort of UI code to forward the calls to. The relevant parts are commented to give you an idea of what I mean.

In the end, it can look something like this:
DialogueExample

Following are the nodes’ code.
Dialogue.cs

MultipleChoice.cs

I hope this helps in kickstarting what you want to achieve. If you need any clarification on the code above or have any questions, let me know.
Cheers!

Join us on Discord: https://discord.gg/97q2Rjh

Attachments:
  1. DialogueExample.png