>>367257228
find a free particle system pack on the unity store.
add the particle system to your avatar, but instead of attaching it to the head directly, use a parent constraint so that the particle can be worldspace.
find a hat model and attach that to your head.