Comments (6)
Animation Clip
把分散的圖片整合在一起就是Animation Clip
譬如「走路動畫」和「跳躍動畫」
每個動畫都有一個Animation Clip
在Animation Clip可以設定圖片資料、撥放速度、撥放時間等
Animation視窗/左上方Add Property/Sprite Renderer/Sprite/+
from jump.
把Animation Clip統整起來就是Animator Controller
在Animator Controller可以指定在哪個時間點撥放Animation Clip
from jump.
要先把Animator元件附加到動作物件才能設定元件的Animator Controller
然後再撥放Animator Controller所設定的動畫
from jump.
player/工具列Window/Animation
animation視窗/Create New Clip/設檔名
設定動畫時間軸:Add Property/Sprite Renderer/Sprite「+」
from jump.
節點的功能
Entry:動畫開始時從Entry節點開始切換
Any State:不管目前狀態,直接切換到指定動畫
Exit:動畫結束時切換到Exit節點
from jump.
切換條件的參數:
Has Exit Time:動畫播放結束時是否自動切換到別的動畫
Exit Time:以影片長度(0.01.0完整播放)設定動畫結束時間1.0完整播放)設定切換到下一個動畫的時間
Transition Duration:以影片長度(0.0
Transition Offset:以影片長度(0.0~1.0完整播放)設定下一個動畫開始的時間
from jump.
Related Issues (4)
- Physics物理引擎 HOT 7
- 場景切換比較 HOT 2
- Input.acceleration的判讀
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jump.