P
P
privet_andrei1232020-04-21 12:17:29
Unity
privet_andrei123, 2020-04-21 12:17:29

How to make an object evaporate?

in general, I tried to make the object evaporate did this

for(; items[i].GetComponent<MeshRenderer>().material.color.a<0; items[i].GetComponent<MeshRenderer>().material.color.a -+10)
{
destroy (items[i]);
break;
}

what do you advise?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-04-21
@freeExec

It seems that the particles had an option for them to fill the volume of the figure. And then you adjust the effect of evaporation.
5e9ecaccdf3ee570798333.png
dqt1dlai4o83ngblp_jb1ks4b_o.gif

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question