This is my script :
You can see that I used some code to do an effect when something with the tag “NightPoulet” enters the Collider2D’s surface (with “Is Trigger” On). And it works!
Then, I did a script activating and deactivating the GameObject with this script. I wanted the script to do the effect again if the thing with the tag “NightPoulet” is still in the Collider2D’s surface, but the script wont work in that case!
In fact, for the effect to be done once again, the tagged thing have to get out and back into the surface while the GameObject is deactivated?!?
So I need something to “reset” my script, or any other solution.
…
Anything, please?
