I will try to explain one problem I have.
I have a window that is loaded in game script (hidden for some scenes, visible for some others).
This window has (among others) one static object that must be moving from one side to the other.
This movement must start when ever I click on an object in a scene and must stop when ever I click on an other object.
So, I made a method for the window which takes care of the movement (usual loop) and checks if a trigger is true.
For the objects, one sets the trigger to true and calls the method, and the other simply stops the trigger.
This is working fine, but I have this problem.
1. I am in Scene A,
2. I start the trigger (click on object_1),
3. the movement starts,
4. I move to Scene B,
5. the movement continues,
6. I stop the trigger (click on object_2),
7. the movement stops.
Every thing seems OK, BUT
Looking at the Debug console I see that the method is still there
If I do the same again, then another method is stucked after the previous and so on.
At any time the movement is happening normally.
I don't have this issue if I don't change scene.
I mean that if I start/stop the trigger in the same scene,
at the Debug console the method clears each time the trigger is stoped.
Spyros