Obtener componente rendere rendere

GetComponent<TrailRenderer>().emitting = true;
Comfortable Capybara