mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
cc1f3423d4
* Fixes custom listener returned by cc.eventManager.addCustomListener isn't attached to cc.eventManager. * Reverts PR #1062 which may lead to other issues, fix it by another way. 1. JS LifeCycle control for GLProgram, GLProgramState. 2. jsb.registerNativeRef should be invoked in JS for cc.TMXTiledMap.getLayer/getObjectGroup/getObjectGroups, cc.TMXObjectGroup.getObject, cc.TMXObjectGroup.getObjects, cc.TMXObject.prototype.getNode.