Unity 5.5 Tutorial

I made some tutorials for unity 5.5. I hope they help.

also if anyone have a question feel free to ask

6 Likes

great

Awesome, thanks for sharing!

Hi everyone I made some effects in Unity 5.5.
Today theme is Fire. Enjoy

1 Like

Good demonstrations…

Hi everyone, made some new effects videos in Unity 5.5.
Today theme is Water. Enjoy

These are awesome. Thanks for sharing.

Does anyone know how to use GetCustomParticleData, ParticleSystemVertexStreams, etc?
I was struggling with a way to “assign” an id/index to each particle. I’ve been using a paramater(say, size) to represent the id of each particle, and I’m trying to do that with custom per particle data in 5.5.
I’m wondering if there’s a way to pass custom data somewhere in EmitParam instead of getting all list and not knowing which particle’s which.

1 Like

Good Morning everyone, made some new effects videos in Unity 5.5.
Today theme is Electric. Enjoy

I think this question is worthy of its own thread, but I’ll answer here.

The custom data is 0 by default. So if you want a unique ID per particle, each frame in update, call GetCustomParticleData, and, for any element that is 0, assign ++MyUniqueID. Finally, set the array back using SetCustomParticleData.

On the next frame, the custom data will have been remembered, but the particle order may have changed, so don’t rely on it :slight_smile:

Oh and if you want that data in a shader, open the Renderer module and add the Custom stream. Or call EnableVertexStrram from script.

In the renderer module ui, it will tell you which TEXCOORD that maps to. Just add it to your shader input structure.

Start a new thread if you have any problems and we can figure it out in there. We also need to add docs examples for all this :wink:

YES

Hello everyone, made some more effects videos in Unity 5.5.
Today theme is Earth. Enjoy

Today theme is Air. Enjoy

Thank you so much SunriseKingdom :wink:

Today theme is Light. Enjoy

1 Like

Today theme is Darkness. Enjoy