add serialize for particle
Merge pull request #56 from 2youyouo2/csxV3

add serialize for particle