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

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.

主站蜘蛛池模板: 阳春市| 民乐县| 通渭县| 大安市| 镇沅| 临泉县| 浑源县| 兰考县| 阳城县| 蓬莱市| 阿拉尔市| 泰宁县| 象山县| 巩留县| 丰台区| 米脂县| 万盛区| 阿荣旗| 湖北省| 贵阳市| 绥滨县| 手游| 扬中市| 海城市| 随州市| 庄浪县| 黄陵县| 抚州市| 威海市| 潮安县| 洪湖市| 泽库县| 邻水| 偃师市| 东光县| 新疆| 珲春市| 曲周县| 凉城县| 红原县| 长宁区|