Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Other What Visual Scripting Guide would you like to see the most?

Discussion in 'Visual Scripting' started by REDACT3D_, Sep 25, 2022.

?

What kind of Visual Scripting Tutorial/ Walkthrough would you want to see?

  1. Overview, (Nodes, graphs, state machine variables, basic how to use)

    70.0%
  2. Theory (states, triggers, events and collisions)

    60.0%
  3. Demo: 3D First person shooter

    0 vote(s)
    0.0%
  4. Demo: 3D Action RPG

    10.0%
  5. Demo: 3D Building game

    30.0%
  6. Demo: 2D Platformer

    0 vote(s)
    0.0%
  7. Demo: 2D Top Down RPG

    0 vote(s)
    0.0%
  8. Demo 3D: Sports game

    0 vote(s)
    0.0%
  9. Demo 3D: Driving game

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. REDACT3D_

    REDACT3D_

    Joined:
    Nov 8, 2020
    Posts:
    222
    Want to use Visual Scripting but don't know how to use it?
    Lookin' for tutorials but can only find super old stuff from Bolt?
    Yeah, I had that problem too.

    What kinds of help do you guys think you need the most? Let me know down below and I'll see what I can do about it.
     
  2. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    146
    Because I am a programmer and like to use Visual Scripting for creating tools for our designers I would like to see more information on how to customize and best practices on how (and which) base classes to use.
     
    Marou1 likes this.
  3. REDACT3D_

    REDACT3D_

    Joined:
    Nov 8, 2020
    Posts:
    222
    Could you elaborate on this?
    Do you mean Subgraphs or custom classes?
     
  4. Marou1

    Marou1

    Joined:
    Dec 13, 2021
    Posts:
    161
    I'd be interested in that too.
     
  5. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,049
    The tool was never designed for that. Current UVS is a Bolt 1 reskin from the asset store. It was made for Unity newbies who don't code. And UVS is practically identical to Bolt 1 from 2018. Custom node API wasn't even documented before Unity acquired the tool and shipped it with the engine. As far as best practices go, custom node creation is documented in the official manual. Anything more than that is likely out of scope unless you're up for modifying source which is available.

    They're working on a new major version of UVS that'll have a completely new runtime with a new custom node API and also new editor UI API since they're migrating the tool from current IMGUI solution to UI Toolkit based Graph Tools Foundation framework.

    Current 1.7x version hasn't seen an update in 7 months, version 1.8 was cancelled so I can only assume it's in maintenance mode if you even can call it that until UVS 2.whatever drops
     
    REDACT3D_ likes this.
  6. REDACT3D_

    REDACT3D_

    Joined:
    Nov 8, 2020
    Posts:
    222
    This is who i'm aiming at for this.

    I would assume a pro could use it
     
  7. Trindenberg

    Trindenberg

    Joined:
    Dec 3, 2017
    Posts:
    395
    I think it's great as a tool for flexible editing, or even as an editor tool. You want to mix performant code with it, otherwise it's pointless. Would be useful with say, some slider nodes. I was working on a bit of that - in a way, using it as a flexible inspector. Was going to use it for designing inspectors or modding code. It doesn't have much in the way of graphical nodes which would make it especially useful, like being able to view a sprite being used. CodeGraph alongside ShaderGraph would be nice. Maybe DOTSGraph is the next thing.
     
    REDACT3D_ likes this.
  8. Trindenberg

    Trindenberg

    Joined:
    Dec 3, 2017
    Posts:
    395
    The StateMachines are very well designed (apart from connections, could be a little more flexible)
     
    REDACT3D_ likes this.
  9. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    146
    Actually I would like to see both :)
    For custom classes I would like to see more information / examples for overriding the different base classes and which base class to choose for which purpose.

    About subgraphs it would be nice to have best practices. For example what the best approach is for dealing with lots of graphs, best ways to keep everything organized and how to get the most performant setup in different scenarios.
     
  10. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    146
    So maybe it is better to look at the GraphView API: https://docs.unity3d.com/ScriptReference/Experimental.GraphView.GraphView.html and make custom tools for our designers based on this...
     
    Last edited: Sep 29, 2022
  11. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,049
    If it does what you need it to do then it's an option. Unity developers who are working on GraphTools Foundation - the GraphView API successor recommend using GraphView while GTF is in the oven.

    The problem with GraphView is that it was designed for a very narrow use case of ShaderGraph so if you want to do more than that, you might end up running across hard blockers because a lot of the API is internal only. The license for GraphView is also weird - reference only. But I don't have a lot of experience with it. Since the announcement of GTF two years ago I thought we'd already have it, but it looks like it'll be 2-4 if not more years until GTF becomes available and public API is not their priority either.
     
    Last edited: Sep 29, 2022
    henkjan and REDACT3D_ like this.
  12. REDACT3D_

    REDACT3D_

    Joined:
    Nov 8, 2020
    Posts:
    222
    Heads up, Tutorial #1 incoming. (overview) Will create a new thread to post made tutorials on to keep it organized but will still reference this thread for input. and thanks guys for letting me know.

    input appreciated
     
  13. davexps

    davexps

    Joined:
    Nov 8, 2020
    Posts:
    2
    I'm really struggling with it generally. I think maybe I need to spend more time with the basics. But I just can't seem to smoothly move the camera to a position based on clicking something. I tried a tutorial on Lerp, Move Towards and Smooth Damp but connecting them up just fried my brain. So for me I would love to see a tutorial on moving the camear around the scene to focus on different object when they are clicked on. Thanks!