Trail rendering

How can you choose how long the trail renderer is on a fired object?

Change the Time field from your Trail Renderer's inspector view.