I have a pause button in my game which uses a CCMenuItemToggle. But once pause there is a second button to resume the game, if I resume the game through the second button instead of the first after it has resumed the Toggle item shows the wrong item. Is there a way to set the selected item through code instead of clicking?
I was thinking about:
[ToggleItem setSelectedItem: MenuItem];
Thank you
Alex