Search Unity

Question What's the deal with the "Optional" Flow arrows?

Discussion in 'Visual Scripting' started by REDACT3D_, Oct 7, 2022.

  1. REDACT3D_

    REDACT3D_

    Joined:
    Nov 8, 2020
    Posts:
    222
    Capture.PNG Hey, yeah, so...
    Anyways...

    While using Visual Scripting, you may notice some of the Nodes have the Green Flow Arrows to hook-up to however in the Graph Inspector it specifically says "You can still get the return value without connecting this port." And yes, this is true. you can indeed get the values without hooking it up.

    So my question is;
    What's the point of those arrows?
    Any reason to hook them up? does it run any better or worse?
    Is it just a bypass? Even hooked to anything inside?
    what's the deal bruh?

    Capture.PNG
     
    Last edited: Oct 8, 2022
  2. Trindenberg

    Trindenberg

    Joined:
    Dec 3, 2017
    Posts:
    398
    You can either continue to your next action on a flow, or use it for an input only from the return value.