docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Game State Machine sample

    This sample demonstrates how to use the Graph Toolkit to create a state machine tool that drives the top-level flow of a game. It shows you how to declare state types with different behaviours, configure each state through state options, and convert each state into a runtime state when the state machine is imported.

    Topic Description
    Introduction Provides an overview of the sample and its features.
    Getting started with the sample Shows you how to set up the sample in your project.
    Explore the code of the Game State Machine sample Explains the structure of the sample and how it uses the Graph Toolkit.
    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)