当前位置:网站首页>Unity particle special effects series - the poison spray preform is ready, and the unitypackage package can be used directly - next
Unity particle special effects series - the poison spray preform is ready, and the unitypackage package can be used directly - next
2022-07-05 10:07:00 【sesame seeds】
- Click the jump =>《 Navigation post 》- Unity manual , Systematic practical learning
- Click the jump =>《 Navigation post 》- Android manual , Revisit mobile development
This article is about 3.2 Thousand characters , Novice reading needs 10 minute , Review needs 3 minute 【 Collect at any time, no longer get lost 】
About author
as everyone knows , Life is a long process , constantly overcome difficulties , Constantly reflect on the process of progress . In this process, there will be a lot of questions and thoughts about life , So I decided to put my thinking , Share all your experiences and stories , To find resonance !!!
Focus on Android/Unity And various game development skills , as well as Share various resources ( Website 、 Tools 、 material 、 Source code 、 Games etc. )
If you need anything, welcome me , Communication groups make learning No longer alone .
Premise
This is what Xiao Kong insisted on writing Unity Novice series , Welcome to taste .
Novice (√√√)
bosses (√)
The particle section is a series of articles , And the introduction was very detailed , Suggest Collection .
Practice process
Dispersed liquid
After our previous practice , This composition is actually very easy to write . Consistent with most of the above .
The difference is that we add a rotation attribute to the main module , In the life cycle, we use double gradient intervals , The map in the renderer material can use a very random chaotic liquid . by the way , The gravity modifier attribute is lower , After all, compared with the large liquid coming out directly , The speed of dispersing liquid should be slower .
Let's see the effect
fog
There is nothing to say about this , Like dispersing liquid , They are all supplements to liquids , So it has the same properties as dispersing liquid .
Involving the initial life cycle 、 Starting size 、 The rotation degree of the particle at the beginning 、 Gravity modifier , Number of particles emitted 、 Life cycle speed 、 Life cycle color 、 Life cycle size 、 And customized materials in the renderer .
The difference is that the gravity is lower and the map is different .
dust
This sub module is different from the above , The performance of dust is generally from low to high , Spread around , Fade out , And after the object falls , That is, it will appear after the above liquid particles execute for a period of time .
The main module sets the start delay ,0.2 Seconds later, change the particle to display , The starting size is 08-1 Between , Have initial rotation , Dust doesn't need gravity .
The number of emitted particles does not need to be as much as that of liquid ,10 Almost , The point is shape , We need to use box shape , And move to the vanishing position of liquid particles , In this way, the dust is splashed by liquid .
Life cycle speed , Just need to have y An integer in the axis direction , Indicates that particles will move upward , As we mentioned earlier, it is fade in , Therefore, in the life cycle, you can modify the transparency of the color ( The transparency value at both ends is higher than that in the middle ). The same renderer is also common Billboard, Just use a dust map for the material .
Finally, let's see the effect .
need unitypackage I can just ask for your direct private message . Nothing , Nothing .
Be bold , We will have a story !!!
other
author : Xiaokong and Xiaozhi Xiaokong
Reprint note - Be sure to indicate the source :https://zhima.blog.csdn.net/
This Taoist friend, please Step back ️, I watch you Extraordinary bearing , There is a king's domineering spirit in his speech , There will be a great achievement in the future !!! There is give the thumbs-up Collection Today I tell you , Have you ordered it , Your success in the future ️, I don't take a penny , If it doesn't work ️, Or come back to me .
reminder : Click the card below to get more unexpected resources .
边栏推荐
- What should we pay attention to when developing B2C websites?
- TDengine可通过数据同步工具 DataX读写
- Viewpager pageradapter notifydatasetchanged invalid problem
- Theme. AppCompat. Light. Darkactionbar not found
- ArcGIS Pro creating features
- H.265编码原理入门
- 【系统设计】指标监控和告警系统
- The popularity of B2B2C continues to rise. What are the benefits of enterprises doing multi-user mall system?
- Tongweb set gzip
- 历史上的今天:第一本电子书问世;磁条卡的发明者出生;掌上电脑先驱诞生...
猜你喜欢
MySQL字符类型学习笔记
Solve liquibase – waiting for changelog lock Cause database deadlock
[NTIRE 2022]Residual Local Feature Network for Efficient Super-Resolution
百度智能小程序巡检调度方案演进之路
Coordinate system of view
Why don't you recommend using products like mongodb to replace time series databases?
Tdengine can read and write through dataX, a data synchronization tool
【技术直播】如何用 VSCode 从 0 到 1 改写 TDengine 代码
QT realizes signal transmission and reception between two windows
Wechat applet - simple diet recommendation (2)
随机推荐
[app packaging error] to proceed, either fix the issues identified by lint, or modify your build script as follow
硬核,你见过机器人玩“密室逃脱”吗?(附代码)
90%的人都不懂的泛型,泛型的缺陷和应用场景
Why do offline stores need cashier software?
百度评论中台的设计与探索
Small program startup performance optimization practice
ThreadLocal source code learning
The essence of persuasion is to remove obstacles
小程序启动性能优化实践
What should we pay attention to when entering the community e-commerce business?
为什么不建议你用 MongoDB 这类产品替代时序数据库?
[200 opencv routines] 219 Add digital watermark (blind watermark)
Wechat applet - simple diet recommendation (2)
MySQL数字类型学习笔记
剪掉ImageNet 20%数据量,模型性能不下降!Meta斯坦福等提出新方法,用知识蒸馏给数据集瘦身...
正式上架!TDengine 插件入驻 Grafana 官网
Tutorial on building a framework for middle office business system
Charm of code language
【技术直播】如何用 VSCode 从 0 到 1 改写 TDengine 代码
7 月 2 日邀你来TD Hero 线上发布会