(Needs updating to a newer Unity and VFXGraph version. Ping me if you need help)
Custom code block is based on great work by @peeweek here: https://github.com/peeweek/net.peeweek.vfxgraph-extras/tree/master/Editor/Blocks/CustomCode
