当前位置:网站首页>第七天 脚本与特效
第七天 脚本与特效
2022-06-29 00:58:00 【代码骑士】
一、特效总览

1、粒子
2、动画

3、动效

4、贴花

5、拖尾

6、后期处理

二、特效的使用方法
1、各种特效的基本使用方法

(1)创建粒子特效


using UnityEngine;
public class createParticle : MonoBehaviour
{
public GameObject prefabParticle;
void Update()
{
if (Input.GetButtonDown("Jump"))
{
GameObject particle = Instantiate(prefabParticle);
}
}
}


演示:
(2)粒子特效的生命周期

(3)创建动画特效

(4)定时销毁动画特效

(5) 调整动画和粒子参数

2、动效与缓动动画

3、DOTween插件使用方法简介


4、拖尾特效

5、后期处理举例

边栏推荐
- 最新Justnews主题源码6.0.1开心版+社交问答插件2.3.1+附教程
- Oracle uses sqlloader to prompt sql*loader-406 Import failed but no error was reported
- [MCU club] design of classroom number detection based on MCU [physical design]
- 戴口罩人臉數據集和戴口罩人臉生成方法
- 盘点 6 月 yyds 的开源项目!
- Click hijack: X-FRAME-OPTIONS is not configured
- Pinhole camera with added lens
- What is redis
- Misunderstanding of innovation by enterprise and it leaders
- 接雨水系列问题
猜你喜欢

How to mount FSS object storage locally

Blazor University (34)表单 —— 获得表单状态
![用户登录(记住用户)&用户注册(验证码) [运用Cookie Session技术]](/img/31/c84c1e15aa1c73814c4ad643e3dd36.png)
用户登录(记住用户)&用户注册(验证码) [运用Cookie Session技术]

Comparison between winding process and lamination process

Pytorch -- use and modification of existing network model

Breadth first search to catch cattle

机器视觉系统的配件及工作过程

Reference materials in the process of using Excel
![User login (remember the user) & user registration (verification code) [using cookie session technology]](/img/31/c84c1e15aa1c73814c4ad643e3dd36.png)
User login (remember the user) & user registration (verification code) [using cookie session technology]
![[MCU club] design of GSM version of range hood based on MCU [simulation design]](/img/8c/933ebfaeec63c0d1ffe361cb2bb91a.jpg)
[MCU club] design of GSM version of range hood based on MCU [simulation design]
随机推荐
Reprint: VTK notes - clipping and segmentation - irregular closed loop clipping -vtkselectpolydata class (black mountain old demon)
3D, point cloud splicing
Document management.
Baidu online disk login verification prompt: unable to access this page, or the QR code display fails, the pop-up window shows: unable to access this page, ensure the web address....
[image detection] recognition of the front and back of a coin based on texture features with matlab code attached
What is redis
滑环电机是如何工作的
分析框架——用户体验度量数据体系搭建
[MCU club] design of GSM version of range hood based on MCU [physical design]
DO280分配持久性存储
How to calculate the income tax of foreign-funded enterprises
Nodejs installation and download
使用.Net驱动Jetson Nano的OLED显示屏
【UVM】我的 main_phase 都跑完了,为啥 case 无法退出?太不讲道理!
Mask wearing face data set and mask wearing face generation method
[MCU club] design of classroom number detection based on MCU [physical design]
If you can play these four we media operation tools, the sideline income of 6000+ is very easy
Excel使用过程中的参考资料
MySQL high availability dual master synchronization
不同的子序列问题I