I have a menu system for my game, which just passes the user between a set of different layouts, like this:
MainMenu > LevelSelect > Level1
Both the LevelSelect & Level1 layouts have a back button on them, which have actions bound to the is toughing event. On the LevelSelect layout the back buttons action is to go to MainMenu layout and this works just fine.
With the Level1 layout the back button's action is to go to the LevelSelect layout. When I click this button it first takes me back to the LevelSelect layout, as expected, and then immediately goes back to the MainMenu layout.
It looks to me like the is touching event is still active when the LevelSelect layout is displayed and since the back buttons are in the same place on both layouts the event on the LevelSelect layout is fired too.
I hope I have explained this clearly. It seems like a simple issue, but I can't seem to find a way to fix it, any help would be appreciated.