I have a CCLayer, and I want it to be the only CCNode that receives touch events. I tried using
void setPriority( int nPriority, CCTouchDelegate * pDelegate )
but I don’t think that worked.
Is there a better way to do it?
I have a CCLayer, and I want it to be the only CCNode that receives touch events. I tried using
void setPriority( int nPriority, CCTouchDelegate * pDelegate )
but I don’t think that worked.
Is there a better way to do it?
I want to not only disable layers, but also buttons and other widgets like sliders.
Put all touch functions in one layer.