docs.unity3d.com
    Show / Hide Table of Contents

    Creating a state unit

    State Units are similar to super units, however for state graphs rather than for script graphs; you can nest a whole state graph into a single unit in a parent script graph.

    To create a state unit:

    1. Do one of the following:
      • Select Nesting > State Unit in the fuzzy finder. Double-click the node or use the Edit Graph button from its inspector to open the nested graph.
      • From a graph:
        • Drag and drop the graph asset into your graph, or
        • Select it from the Graphs category in the fuzzy finder.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023