Home >
other > About cocos2d js 3.10 pageView getCurPageIndex method can't find the problem
About cocos2d js 3.10 pageView getCurPageIndex method can't find the problem
Before 3.5 the function of the engine made a pageView, change after engine results bring then write pageView found one way getCurPageIndex () can not find, in js source code is the method of ah, and then go to the c + + source code found no binding to js method, feeling a little meng, feel this method is very important, how can not binding in? Results finally found that one of the c + + getCurrentPageIndex method replaces the getCurPageIndex function, binding method is getCurrentPageIndex, depressing, however pageView method or getCurPageIndex in js code, in the way of correction is to js code getCurPageIndex method names for getCurrentPageIndex is ok, there are two place,