About State IDs and Renaming States
Last updated
Was this helpful?
Last updated
Was this helpful?
Each state inside of a State Machine needs to have a unique ID assigned to it, which allows to identify it. You can use the ID of a state to access it via code in your scripts.
You can assign your own IDs to states. First, select a state in the State Machine Graph window. In the Inspector select the ID field at the top and enter the ID you want to use.