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

Creating the AnimationController asset

The AnimationController asset is a type of asset within Unity that handles states and transitions. It is, in essence, an FSM, but it also does much more. We'll focus on the FSM portion of its functionality. An animator controller can be created from the Assets menu, as shown in the following image:

Once you create the animator controller, it will pop up in your project assets folder, ready to be named. We'll name it TankFsm. When you select the animator controller, unlike most other asset types, the hierarchy is blank. That is because animation controllers use their own window. You can simply click on Open in the hierarchy to open up the Animator window, or open it in the Window menu, as you can see in the following screenshot:

Be sure to select Animator and not Animation as these are two different windows and features entirely.

Let's familiarize ourselves with this window before moving forward.

主站蜘蛛池模板: 赣榆县| 台中市| 凌海市| 饶平县| 南康市| 巴中市| 宣汉县| 佛山市| 上蔡县| 四平市| 隆林| 蒲江县| 九台市| 滦南县| 万山特区| 眉山市| 公安县| 昌乐县| 右玉县| 乌苏市| 光山县| 巍山| 分宜县| 奎屯市| 韶山市| 英吉沙县| 汝州市| 南川市| 玉树县| 黎城县| 乐平市| 理塘县| 黔南| 漳平市| 龙州县| 广宁县| 增城市| 浦江县| 临江市| 南宫市| 武宣县|