Visual State Machine
  • Welcome
  • FAQ
  • Get Started
    • Setup
    • How to Create a State Machine
    • How to Open the Graph Editor
    • How to Create a State
    • About State IDs and Renaming States
    • How to Duplicate States
    • How to Set the Entry State
    • How to Create a Transition
    • About Transition IDs and Renaming Transitions
    • About Transition Labels
    • How to Trigger a Transition
    • How to Trigger a Transition by Label
    • How to Listen to Graph Events
  • Advanced
    • Execution Order
    • Listening to Events from Script
    • Writing Custom State Behaviours
    • Extending VSM
Powered by GitBook
On this page

Was this helpful?

  1. Get Started

About Transition IDs and Renaming Transitions

PreviousHow to Create a TransitionNextAbout Transition Labels

Last updated 2 years ago

Was this helpful?

Each transition inside of a State Machine needs to have a unique ID assigned to it, which allows to identify it. You can use the ID to trigger a specific transition or to access it via code in your scripts.

How to Change the ID of a Transition

  1. Select the transition you want to assign a new ID to, by clicking on it in the State Machine Graph window. In the Inspector select the ID text field at the top and enter the ID you want to use.

Transition IDs need to be unique inside of a state machine.