I am trying to add the smoke trail effect into my game from this tutorial I found.
http://farfarer.com/blog/2012/12/04/smoke-trails-in-unity/
I converted the code there into C# and everything seems to be fine, except I am not sure how to use the texture as material. It seems like I am using the wrong shader.
Here is what it looks like in game right now.