当前位置:网站首页>第七天 脚本与特效
第七天 脚本与特效
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、后期处理举例

边栏推荐
- 利用verilogA模块采样
- [UVM] my main_ Why can't the case exit when the phase runs out? Too unreasonable!
- 旋轉接頭安裝使用注意事項
- Reasons for high price of optical fiber slip ring
- Daily English articles, reading accumulation
- FSS object storage how to access the Intranet
- XML and other file contents in idea cannot be highlighted, and the file becomes gray
- How to calculate the income tax of foreign-funded enterprises
- 大智慧上开户是安全的吗
- Getting started with SQL
猜你喜欢

滑环的基本结构及工作原理分析

What is the difference between the histology and western blotting 两种方法都是进行组织染色的

What is the reason why easycvr can't watch the device video when it is connected to the home protocol?

DO280分配持久性存储

Redis常用命令手册
![[image detection] line recognition based on Hough transform (fitting angle bisector) with matlab code](/img/29/a3dc68ebc958ff96c3d8cc771a84f1.jpg)
[image detection] line recognition based on Hough transform (fitting angle bisector) with matlab code
![[staff] pedal mark (step on pedal ped mark | release pedal * mark | corresponding pedal command in MIDI | continuous control signal | switch control signal)](/img/2b/e358b22d62ce6d683ed93418ff39fe.jpg)
[staff] pedal mark (step on pedal ped mark | release pedal * mark | corresponding pedal command in MIDI | continuous control signal | switch control signal)

How to solve the problem of Caton screen when easycvr plays video?

盘点 6 月 yyds 的开源项目!

浏览器缓存库设计总结(localStorage/indexedDB)
随机推荐
请问基金是否靠谱,安全吗
EasyCVR新建用户后,视频调阅页面不能点击的问题修复
【RRT三维路径规划】基于matlab快速扩展随机树无人机三维路径规划【含Matlab源码 1914期】
Bmfont make bitmap font and use it in cocoscreator
Reasons for high price of optical fiber slip ring
Roson's QT journey 80 qurl class
[image denoising] matlab code for removing salt and pepper noise based on fast and effective multistage selective convolution filter
Document management.
Accessories and working process of machine vision system
Difference between applying for trademark in the name of individual and company
FSS object storage how to access the Intranet
Blazor University (34) forms - get form status
Large-scale case applications to developing post-click conversion rate estimation with MTL
光纤滑环价格过高的原因
IT治理方面的七个错误,以及如何避免
学习通否认 QQ 号被盗与其有关:已报案;iPhone 14 量产工作就绪:四款齐发;简洁优雅的软件早已是明日黄花|极客头条
大智慧上开户是安全的吗
[image detection] recognition of the front and back of a coin based on texture features with matlab code attached
[leetcode] 522. 最长特殊序列 II 暴力 + 双指针
Comparison between winding process and lamination process