当前位置:网站首页>Unity animation day05
Unity animation day05
2022-07-04 15:28:00 【@Night Charm】
Commonly used API function :
bool isPlay = animation.isPlaying;
bool isPlay = animation.IsPlaying(" Animation name ");
animation.Play(" Animation name ");
animation.PlayQueued(" Animation name ");
animation.CrossFade(" Animation name ");
animation[" Animation name "].speed = 5;
animation[" Animation name "].wrapMode = WrapMode.PingPong;
animation[" Animation name "].length;
animation[" Animation name "].time;
Animation View:
1、 Animation view allows you to create and modify animation clips directly (Animation Clips)
2、 Show animation view :window -- Animation
Create animation clips :
1、 Add... To an object Animation Components
2、 Create clips in the animation view
Record animation clips :
1、 Recording steps :
Click the record button , Start recording animation
Add key Add Property, Select the component type
Select keys , Adjust the time point
stay Scene or Inspector Panel settings properties
Click the record button , End recording animation
2、 The properties of any component and material can be animated , Even public variables of custom script components .
Timeline :
1、 You can preview or modify animation clips by clicking anywhere on the timeline
2、 The number is displayed in seconds and frames ( for example :1:30 Express 1 The second and 30 frame )
3、 Use the buttons to jump to the previous or next keyframe , You can also type a specific number to jump directly to the frame .
Animation Component properties :
Animation Animation: The current animation
Animation list Animations: A list of animations that can be accessed from scripts
Auto play Play Automatically: The animation that plays automatically when you start the game
Animation clip attributes :
Package mode Wrap Mode: How to deal with the animation .
-- Default Default, Use the processing methods in animation clips
-- Play it once Once, Stop when the playback ends ;
-- Loop Playback Loop, Play again after the end ;
-- Ping Pong play PingPong, Play backward after the end ;
-- Fixed permanent Clamp Forever, Play the last frame forever after the end ;
边栏推荐
- Preliminary exploration of flask: WSGI
- I plan to teach myself some programming and want to work as a part-time programmer. I want to ask which programmer has a simple part-time platform list and doesn't investigate the degree of the receiv
- When synchronized encounters this thing, there is a big hole, pay attention!
- LeetCode 1184. 公交站间的距离 ---vector顺逆时针
- unity update 协程_Unity 协程的原理
- 华为云数据库DDS产品深度赋能
- 31年前的Beyond演唱会,是如何超清修复的?
- js平铺数据查找叶子节点
- [learning notes] matroid
- 【读书会第十三期】FFmpeg 查看媒体信息和处理音视频文件的常用方法
猜你喜欢
.Net 应用考虑x64生成
Halcon knowledge: NCC_ Model template matching
Helix Swarm中文包发布,Perforce进一步提升中国用户体验
LNX efficient search engine, fastdeploy reasoning deployment toolbox, AI frontier paper | showmeai information daily # 07.04
从0到1建设智能灰度数据体系:以vivo游戏中心为例
力扣刷题01(反转链表+滑动窗口+LRU缓存机制)
Quelles sont les perspectives de l'Internet intelligent des objets (aiot) qui a explosé ces dernières années?
Summer Review, we must avoid stepping on these holes!
TechSmith Camtasia studio 2022.0.2 screen recording software
Common API day03 of unity script
随机推荐
Redis publier et s'abonner
Redis的4种缓存模式分享
Guitar Pro 8win10 latest guitar learning / score / creation
直播预告 | PostgreSQL 内核解读系列第二讲:PostgreSQL 体系结构
都在说DevOps,你真正了解它吗?
【读书会第十三期】 音频文件的封装格式和编码格式
LeetCode 35. Search the insertion position - vector traversal (O (logn) and O (n) - binary search)
js平铺数据查找叶子节点
谈SaaS下如何迅速部署应用软件
Detailed explanation of MySQL composite index (multi column index) use and optimization cases
Understand the context in go language in an article
odoo数据库主控密码采用什么加密算法?
mysql 联合主键_Mysql 创建联合主键[通俗易懂]
2022年九大CIO趨勢和優先事項
【学习笔记】拟阵
Redis 解决事务冲突之乐观锁和悲观锁
c# 实现定义一套中间SQL可以跨库执行的SQL语句
On the implementation plan of MySQL explain
Techsmith Camtasia Studio 2022.0.2屏幕录制软件
Unity script API - GameObject game object, object object