Hi, first of all sorry for my bad english.
I’m working on a spaceships game and there’s a kind of star’s path and if the spaceship moves over it the life should decrease per every 0.5 seconds, but if I use the function OnTriggerEnter2D() the life decrease only once even if the ship keeps over the path. How can I do what i need?
Thanks for reading and for your help!
You can use OnTriggerStay2D() → TRIGGER