I am using a delegate/ event in my script in a scene called level1. In the scene Level2 i use the same scripts with the delegate / event in there.
My question is does the subscriber in the last loaded scene still subscribe to the event and cause it to run the code 2 times?
If i run each scene by its self it all works. If i run the scenes after each other the delegates run 2 times.
How do i unsubscribe to events before i load the next scene?