当前位置:网站首页>Unity Animator动画与状态机
Unity Animator动画与状态机
2022-07-25 05:46:00 【饿掉鱼】
首先创建一个Animator并拖拽赋给object

双击后会有这个界面.这里就是k动画的
右上角为目标帧数.上方为录制和播放
调整好帧数后开始录制
然后可以对物体进行移动缩放旋转了.unity会自动记录

然后进入状态机界面对animator逻辑进行调整
比如放了技能进入技能动画.死亡时进入死亡动画
Entry指定的是默认动画

制造关联.当动画结束,或者满足条件时,进入下个动画
比如这里,我设置了一个Back布尔值.B的speed是-1(倒放)
这样,当Back值为true时,就执行倒放动画(菜单栏的收缩)

点击关系线进行条件判断设置 直观地看到,当back值为true时动画流从a到b
如果要更改布尔值,在脚本中get animator并setbool(string BoolName,bool Bool)就OK了
边栏推荐
- background
- context must be a dict rather解决
- HTB-Beep
- Realsense D435i 深度图优化_高精度模式
- After Oracle user a deletes a table under user B's name, can user B recover the deleted table through the recycle bin?
- HTB-Granpa
- LCP plug-in creates peer-to-peer physical interface
- LCP plug-in creates peer VLAN interface
- [typescript manual]
- VIM configuring golang development environment
猜你喜欢

sqlilabs less-28~less-8a

Airserver 7.3.0 Chinese version mobile device wireless transmission computer screen tool

Softing pngate series gateway: integrate PROFIBUS bus into PROFINET network

Sword finger offer 05. replace spaces

sqlilabs less-29

sqlilabs less-29
![(14)[驱动开发]配置环境 VS2019 + WDK10 写 xp驱动](/img/90/0d94d26be8128d77de65919763fda5.png)
(14)[驱动开发]配置环境 VS2019 + WDK10 写 xp驱动

sqlilabs less-28~less-8a

【每日一练】day(14)

HTB-Granpa
随机推荐
Idea commonly used 10 shortcut keys
2020ICPC 江西省赛热身赛 E.Robot Sends Red Packets(dfs)
Codeforces Round #809 (Div. 2)
Run length test of R language: use the runs.test function to perform run length test on binary sequence data (check whether the sequence is random)
School day (summer vacation daily question 2)
Unity中使用UniRx入门总结
After Oracle user a deletes a table under user B's name, can user B recover the deleted table through the recycle bin?
Talk about how redis handles requests
求求你别再用 System.currentTimeMillis() 统计代码耗时了,真的太 Low 了!
(16)[系统调用]追踪系统调用(3环)
剑指 Offer 45. 把数组排成最小的数
R language data The table package performs aggregation transforms of data packets and calculates the grouping interquartile range (IQR) of dataframe data
Basset: learning the regulatory code of the accessible genome with deep convolutional neural network
PHP warehouse inventory management system source code WMS source code
2021年ICPC陕西省赛热身赛 B.CODE(位运算)
HTB-Devel
CCID released the "Lake warehouse integrated technology research report", and Jushan database was selected as a typical representative of domestic enterprises
Airserver 7.3.0 Chinese version mobile device wireless transmission computer screen tool
Microservice configuration center Nacos
ERA5数据集说明