Reply To: Setup an Instantiated "child" UnityObject

FlowCanvas Forums Support Setup an Instantiated "child" UnityObject Reply To: Setup an Instantiated "child" UnityObject

#2046
net8floz
Participant

Events can be cool but this seems like a bit weird time for events. At the very simplest translation you can do exactly your code version in flow canvas. Expanding on this I like to build kind of “Controller” classes that handle code for me but I *assemble* them in flow canvas. This gives me powerful control of my code in my controllers while giving me the excellent visual design logic. So I might I have [OnInput] => [Self.MyComponent.Shoot()] instead of building longer flow trees.

Example of code translation below.

Edit:
It occurs to me that you’re not wanting to invoke a function as per your code but execute additional flow controller logic. In this case events or a custom function does make sense!

Attachments:
  1. flowcanvas-example.png