docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Create a behavior graph

    To create a new behavior graph, perform the following steps:

    1. Right-click an empty area of the Project window.

    2. Select Create > Muse Behavior > Behavior Graph.

      Create behavior graph

      Muse Behavior can create the new asset (behavior graph) in either of the following two places:

      • The directory you select in the Project window.
      • At the top level of the Assets - Project window if you use the menu.
    3. Enter a name for the new behavior graph.

    4. Double-click the new behavior graph to open it in the Muse Behavior editor.

    You're now ready to implement the logic of your AI.

    To enable the graph to run the appropriate behavior for a given situation, create one of the following nodes:

    • Action node
    • Event node
    • Flow node

    Unity provides a set of pre-defined nodes. These include:

    • General purpose actions
    • Event-driven behavior
    • Control flow

    You can also create your own custom nodes to tailor the behavior of your artificial intelligence (AI) experience to your specific needs.

    To continue creating a behavior graph, you can do the following:

    • Use pre-defined nodes
    • Create your own custom nodes based on your requirements

    Additional resources

    • Use a pre-defined node
    • Create a custom node
    • Behavior graph example
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)