- 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.
推薦閱讀
- Vue 3移動Web開發與性能調優實戰
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- Django Design Patterns and Best Practices
- Access 2010數據庫基礎與應用項目式教程(第3版)
- C語言程序設計實踐教程
- Mastering Google App Engine
- Python編程從0到1(視頻教學版)
- Java Web開發就該這樣學
- Machine Learning With Go
- Spring 5 Design Patterns
- C語言程序設計實訓教程與水平考試指導
- 從零開始學Android開發
- Continuous Delivery and DevOps:A Quickstart Guide Second Edition
- After Effects CC技術大全