docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Getting started with the Dungeon Graph Generator sample

    Prerequisites

    This sample requires Unity 6000.5 or later.

    Import the sample

    1. Open Package Manager
    2. Select the Graph Toolkit package
    3. Navigate to the Samples tab
    4. Import the Dungeon Graph Generator sample

    The Package Manager copies sample files in your Assets folder. They are now ready to use.

    Test the sample

    1. Open the CryptGenerationSheet in the inspector (Assets/Samples/Graph Toolkit/<installed package version>/Dungeon Graph Generator Sample/Scriptable Objects/CryptGenerationSheet.asset).
    2. Edit the fields as you wish.
    3. Click on the Generate button.

    This will generate a dungeon graph asset at Assets/Generated/<Dungeon Graph Name>.dg.

    You can now edit the generated graph as you wish or regenerate it by clicking again on the Generate button.

    Create your own dungeon graph

    1. Click Assets > Create > Graph Toolkit Samples > Dungeon Graph.
    2. Name the new graph asset (for example, My Own Dungeon Graph).
    3. Double-click the new graph asset to open the Graph Editor.

    Right-click in the graph to create and connect nodes.

    In This Article
    Back to top
    Copyright © 2026 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)