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

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.

主站蜘蛛池模板: 施甸县| 海安县| 鲁甸县| 金湖县| 沙坪坝区| 翁牛特旗| 镇江市| 湘潭市| 鸡泽县| 抚松县| 彭泽县| 萨迦县| 呼和浩特市| 江川县| 玛纳斯县| 惠东县| 乃东县| 陇川县| 嘉义市| 鄂托克前旗| 沛县| 普定县| 浪卡子县| 武宣县| 革吉县| 山东省| 虹口区| 海淀区| 托克逊县| 中宁县| 仪陇县| 安丘市| 闸北区| 遵义县| 土默特左旗| 泾阳县| 韶关市| 台州市| 左贡县| 太谷县| 昭平县|