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

Question Is VS Compiled or Serialized?

Discussion in 'Visual Scripting' started by xuliming1994, Feb 22, 2023.

  1. xuliming1994

    xuliming1994

    Joined:
    May 13, 2021
    Posts:
    44
    I have a lot of un-reusable logic in my project, and current am handling them using chains of UnityEvents. I've recently updated my engine version and found out about VS. It seems to be a great replacement for UnityEvents.

    Would it be a good replacement for UnityEvents? Is it compiled or serialized in scene? I would need it to be serialized to deliver hotfixes.
     
  2. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,049
    Visual scripting is a good alternative to UnityEvents if you want reusable logic that's not in a regular script.

    There are two graph types - Embed and Graph. Embed graphs are serialized to scene, Graph type is serialized as an asset, which makes a graph reusable.