The sci-fi tracking pipeline produced using Unity VFX Graph can follow the target to create trailing effects and add lightning effects.
You can modify the color, size, etc. by yourself.
Version:2021.2.17f1
Render Mode:HDRP
Requires Unity Packages to be installed: Visual Effect Graph
Unity Assets file containing VFX, After downloading, please unzip the file first, and then use Unity to open the project file.