Hi,
I’ve tried to create a laser effect in my game and when i’ve done the part to get the laser to the monster with my line renderer, i’ve added my background image and the linerenderer disapear behind the background.
The Line should be over the background!
Background:
LaserProjectile
I’ve tried many things but it seems nothing is working to make my laser over the background…
#1 - I’ve tried to create Sorting Layer but it stayed the same.
#2 - I’ve tried with Z Position of the LineRenderer and the Position that have been set.
#3 - I’ve tried with 2 camera
MainCamera to renderEverything except LineRenderer Layer
Second Camera to render nothing else than LineRenderer layer
but it doesnt seems to display my second camera
but still all those and nothing my laser is still behind the background!
How can i achieve it!?
it seems that many people use LineRenderer in their game, i must be missing something !