官术网_书友最值得收藏!

Transitioning between states

You'll notice that upon creating our state, an arrow is created connecting the Entry state to it, and that its node is orange. Unity will automatically set default states to look orange to differentiate them from other states. When you only have one state, it is automatically selected as the default state, and as such, it is automatically connected to the entry state. You can manually select which state is the default state by right-clicking on it and then clicking on Set as Layer Default State. It will then become orange, and the entry state will automatically connect itself to it. The connecting arrow is a transition connector. Transition connectors allow us some control over how and when the transition occurs, but the connector from the entry state to the default state is unique in that it does not provide us with any options, since this transition happens automatically.

You can manually assign transitions between states by right-clicking on a state node and then selecting Make Transition. This will create a transition arrow from the state you selected to your mouse cursor. To select the destination of the transition, simply click on the destination node and that's it. Note that you cannot redirect the transitions though. We can only hope that the kind folks behind Unity add that functionality at a later point, but for now, you must remove a transition by selecting it and deleting it, and then assigning an all-new transition manually.

主站蜘蛛池模板: 疏附县| 西青区| 正蓝旗| 上饶县| 巧家县| 万盛区| 黔江区| 大丰市| 阿图什市| 威远县| 中宁县| 天峻县| 商水县| 张家港市| 景谷| 香格里拉县| 左云县| 炉霍县| 辉南县| 和田市| 建阳市| 玉树县| 徐汇区| 清水县| 凤台县| 太仆寺旗| 攀枝花市| 衢州市| 盐源县| 敦煌市| 和静县| 卢龙县| 上杭县| 宕昌县| 策勒县| 方山县| 洪泽县| 二手房| 和平区| 台南县| 林甸县|