i have code for timer of my trail
private TrailRenderer tr; bool isEmit; float emitTimer; public float timeEmit = 2; // Start is call