版本
When a state is called by the game, it applies property changes to objects in response to the game conditions. The transitions between the states are defined in the State Group editor.
The process of creating a new state includes the following steps:
To create a new state:
In the Project Explorer, switch to the Game Syncs tab.
In the States section, do one of the following:
Select a state group and click the State icon in the Project Explorer toolbar.
Right-click a state group and select New Child > State from the shortcut menu.
A new state is added to the state group.
Replace the default name with one that best represents the state.
Note | |
---|---|
Each state name in a state group must be unique, and consist only of letters, digits, and underscores. Use either a letter or underscore as the first character. |
Continue creating states as needed.