当前位置:网站首页>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 .
边栏推荐
- Mysql80 service does not start
- What should we pay attention to when developing B2C websites?
- 【C语言】动态内存开辟的使用『malloc』
- The essence of persuasion is to remove obstacles
- Single chip microcomputer principle and Interface Technology (esp8266/esp32) machine human draft
- 分布式数据库下子查询和 Join 等复杂 SQL 如何实现?
- 移动端异构运算技术-GPU OpenCL编程(进阶篇)
- Online chain offline integrated chain store e-commerce solution
- TDengine ×英特尔边缘洞见软件包 加速传统行业的数字化转型
- cent7安装Oracle数据库报错
猜你喜欢

宝塔面板MySQL无法启动

代码语言的魅力

How Windows bat script automatically executes sqlcipher command

What should we pay attention to when developing B2C websites?

Three-level distribution is becoming more and more popular. How should businesses choose the appropriate three-level distribution system?

Cut off 20% of Imagenet data volume, and the performance of the model will not decline! Meta Stanford et al. Proposed a new method, using knowledge distillation to slim down the data set

Observation cloud and tdengine have reached in-depth cooperation to optimize the cloud experience of enterprises

让AI替企业做复杂决策真的靠谱吗?参与直播,斯坦福博士来分享他的选择|量子位·视点...
![[system design] index monitoring and alarm system](/img/83/81534fa31b525c4c7b3175d8312808.png)
[system design] index monitoring and alarm system

双容水箱液位模糊PID控制系统设计与仿真(Matlab/Simulink)
随机推荐
Generics, generic defects and application scenarios that 90% of people don't understand
Matrix processing practice
Getting started with Apache dolphin scheduler (one article is enough)
小程序启动性能优化实践
天龙八部TLBB系列 - 单体技能群伤
能源势动:电力行业的碳中和该如何实现?
如何獲取GC(垃圾回收器)的STW(暫停)時間?
[NTIRE 2022]Residual Local Feature Network for Efficient Super-Resolution
基于单片机步进电机控制器设计(正转反转指示灯挡位)
双容水箱液位模糊PID控制系统设计与仿真(Matlab/Simulink)
苹果 5G 芯片研发失败?想要摆脱高通为时过早
TDengine 已经支持工业英特尔 边缘洞见软件包
Tutorial on building a framework for middle office business system
一种用于干式脑电图的高密度256通道电极帽
Cut off 20% of Imagenet data volume, and the performance of the model will not decline! Meta Stanford et al. Proposed a new method, using knowledge distillation to slim down the data set
How to get the STW (pause) time of GC (garbage collector)?
How do enterprises choose the appropriate three-level distribution system?
How to choose the right chain management software?
Resolve the horizontal (vertical) sliding conflict between viewpager and WebView
Comparison of batch merge between Oracle and MySQL