55
edits
Phanchris5 (talk | contribs) |
Phanchris5 (talk | contribs) |
||
Line 160: | Line 160: | ||
<br> | <br> | ||
The model we wish to utilize must then be attached to this shader material, which I did by substituting my previous material for the city buildings. I have multiple materials that use this shader, a Box collider to start the effect, and a script, as you can see in my Inspector window. The simplest way to start the dissolve effect when the character enters the collider is to use a box collider to initiate an event. | The model we wish to utilize must then be attached to this shader material, which I did by substituting my previous material for the city buildings. I have multiple materials that use this shader, a Box collider to start the effect, and a script, as you can see in my Inspector window. The simplest way to start the dissolve effect when the character enters the collider is to use a box collider to initiate an event. | ||
[[File:fogworld33.png|400px]] | [[File:fogworld33.png|400px]] <br> | ||
My friend advised me to use another plugin (DOTween) to launch the script to trigger this effect. | My friend advised me to use another plugin (DOTween) to launch the script to trigger this effect. | ||
[[File:fogworld34.png|400px]] | [[File:fogworld34.png|400px]] |
edits