- Unity 2017 Game AI Programming(Third Edition)
- Ray Barrera Aung Sithu Kyaw Thet Naing Swe
- 215字
- 2021-07-02 19:14:15
Creating our very first state
Okay, so the header is not entirely true since Unity creates a few default states for us in our animator controller—New State, Any State, Entry, and Exit—but let's just agree that those don't count for now, okay? Let's take a look at some of the things we can do in our newly-created animation controller:
- You can select states in this window by clicking on them, and you can move them by dragging and dropping them anywhere in the canvas.
- Select the state named New State and delete it by either right-clicking and then clicking on Delete or simply hitting the Delete key on your keyboard.
- If you select the Any State state, you'll notice that you do not have the option to delete it. The same is true for the Entry state. These are required states in an animator controller and have unique uses, which we'll cover up ahead:
To create our (true) first state, right-click anywhere on the canvas and then select Create State, which opens up a few options, from which we'll select Empty. The other two options, From Selected Clip and From New Blend Tree, are not immediately applicable to our project, so we'll skip these. Now we've officially created our first state.
推薦閱讀
- Learning Single:page Web Application Development
- 深入核心的敏捷開發:ThoughtWorks五大關鍵實踐
- Spring Cloud Alibaba核心技術與實戰案例
- LabVIEW Graphical Programming Cookbook
- Learning Spring 5.0
- 基于Java技術的Web應用開發
- The Data Visualization Workshop
- JavaScript by Example
- 網站構建技術
- Java網絡編程核心技術詳解(視頻微課版)
- MySQL入門很輕松(微課超值版)
- HoloLens與混合現實開發
- Nagios Core Administration Cookbook(Second Edition)
- Instant jQuery Boilerplate for Plugins
- Python數據可視化之美:專業圖表繪制指南(全彩)