I have two CCMenu’s in the same position. I didn’t change their touch priority, so only the added last touch events will be called.
But, for another CCMenu, I’m changing it’s priority with:
And this piece of code, changes the others CCMenu’s order, and the first added touch events will be called.
Ok, it is confusing… I will try to explain with an example.
CCMenu A~~ priority~~128;
CCMenu B - priority ~~128;
CCMenu C~~ priority ~~128;
If I change C priority to~~127, I will get:
CCMenu C - priority ~~127;
CCMenu B~~ priority ~~128;
CCMenu A~~ priority –128;
Is it a bug?