Reply To: FlowCanvas: Variables

Forums 💬 NodeCanvas ⚙️ Support FlowCanvas: Variables Reply To: FlowCanvas: Variables

#18948
bbdata
Participant

    Hey Gavalakis,

    thanks for your hints from last week, I had to take a break on this project for some days..
    I will try the new getter/setter. Formerly I thought that every public declared variable in a script is adressable, not only these with get/set-methods. So I guess I’ve missed some crucial basics 😉

    But: i love working with Flowcanvas, so some work is ahead of me but worth it. The serialization error isn’t reproducable in the actual project version, seems good. But diggin in sending/receiving events , i get a new error (see below) using the name ‘Eventhandler’ in my Script, should I use a namespace for my scripts?
    And is there any example how to subscribe with Flowcanvas to a given message bus and receive different types of messages? I’m a totally noob in terms of event handling, so every help is welcome.

    The error:
    Assets/FlowCanvas/Framework/_ParadoxNotion (shared)/Design/PartialEditor/EventHandlerDebugComponent.cs(16,61): error CS0426: The nested type SubscribedMember' does not exist in the typeEventHandler’

    BUT: I would make it without events, if I get this function working correctly: get_nextNodePosition. I assume problem is the “Nullable<Vector3>”, since I get sometimes the Flow Execution Error. It seems that I have to check if this function is != 0, before calling it, but how to to that?

    ->see screenshots
    https://www.evernote.com/l/AMG_6ycSE-VKK7yvvZZ75D5TS-ZBqUnIKO0