In this repository you can learn how to implement a flamethrower that damages enemies over time, including applying a burning effect to the enemy
Why do you think that https://github.com/llamacademy/line-renderer-collider is a good alternative to flamethrower