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

边栏推荐
- Reasons for high price of optical fiber slip ring
- Large-scale case applications to developing post-click conversion rate estimation with MTL
- Go1.18 new feature: discard strings Title Method, a new pit!
- Analysis Framework -- establishment of user experience measurement data system
- EasyCVR播放视频出现卡顿花屏时如何解决?
- 滑环电机是如何工作的
- 基于.NetCore开发博客项目 StarBlog - (13) 加入友情链接功能
- 【leetcode】153. Find the lowest value in the rotation sort array
- 学习通否认 QQ 号被盗与其有关:已报案;iPhone 14 量产工作就绪:四款齐发;简洁优雅的软件早已是明日黄花|极客头条
- FSS object storage how to access the Intranet
猜你喜欢

Xuetong denies that the theft of QQ number is related to it: it has been reported; IPhone 14 is ready for mass production: four models are launched simultaneously; Simple and elegant software has long

Browser cache library design summary (localstorage/indexeddb)
![[MCU club] design of classroom number detection based on MCU [physical design]](/img/cf/65c1bdbb45afcc6db265a79c25a3ae.jpg)
[MCU club] design of classroom number detection based on MCU [physical design]

Streaming media cluster application and configuration: how to deploy multiple easycvr on one server?

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....

Uvm:field automation mechanism

Depth first search to realize the problem of catching cattle

架构实战营|模块5

最新Justnews主题源码6.0.1开心版+社交问答插件2.3.1+附教程

Report on the convenient bee Lantern Festival: the first peak sales of pasta products this year; prefabricated wine dumplings became the winners
随机推荐
Analysis Framework -- establishment of user experience measurement data system
MySQL high availability dual master synchronization
浏览器缓存库设计总结(localStorage/indexedDB)
User login (remember the user) & user registration (verification code) [using cookie session technology]
Easycvr service private What should I do if the PEM file is emptied and cannot be started normally?
Reference materials in the process of using Excel
[SV basics] some usage of queue
Report on the convenient bee Lantern Festival: the first peak sales of pasta products this year; prefabricated wine dumplings became the winners
Large-scale case applications to developing post-click conversion rate estimation with MTL
Comparison between winding process and lamination process
旋轉接頭安裝使用注意事項
Daily English articles, reading accumulation
GUI Graphical user interface programming example - color selection box
Nodejs安装和下载
be based on. NETCORE development blog project starblog - (13) add friendship link function
狼人杀休闲游戏微信小程序模板源码/微信小游戏源码
[image denoising] matlab code for removing salt and pepper noise based on fast and effective multistage selective convolution filter
[staff] pedal mark (step on pedal ped mark | release pedal * mark | corresponding pedal command in MIDI | continuous control signal | switch control signal)
旋转接头安装使用注意事项
[image registration] improved SAR image registration based on sar-sift with matlab code