mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
67e9aa1f33
* use getClassById instead of _getClassById * use getClassId instead of _getClassId * public cc.js.getClassId api * allow className already exists, new one will replace old classObject * create component use cid * allow className exist when registing * custom script className allow duplicated * revert some comments * preserve api and deprecate _getClassById and _getClassId * revert some comments * revert comment * Update cocos/core/utils/js-typed.ts Co-authored-by: PP <chinese1236@qq.com> Co-authored-by: PP <chinese1236@qq.com>