Reply To: Working With ScriptableObjects

Forums 💬 FlowCanvas ⚙️ Support Working With ScriptableObjects Reply To: Working With ScriptableObjects

#22250
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:
    [attachment file=”DialogueExample.png”]

    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!