Is there a way to program trail renderer from a script? I want to be able to write a script that holds all the information necessary to create a trail renderer based on user’s touch points. I’m doing this because all of the user’s touch information is hard coded and I want to be able to draw the trail renderers where the user is touching the screen.
Basically what I am asking is how do I initialize the trail renderer from a script and how do I make it show up on the screen when I tell it to?