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

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.

主站蜘蛛池模板: 开化县| 高邑县| 金昌市| 民和| 泰安市| 贡嘎县| 墨玉县| 汤原县| 长岭县| 乳山市| 砀山县| 莲花县| 东明县| 衡东县| 宣恩县| 丰都县| 龙门县| 大埔区| 镇江市| 汾西县| 黄陵县| 泸定县| 隆回县| 盐池县| 青海省| 营山县| 鄂州市| 新乡市| 德惠市| 金昌市| 通榆县| 平南县| 芜湖市| 皮山县| 普兰店市| 揭东县| 新竹市| 天台县| 蛟河市| 阳信县| 察隅县|