Precautions

Syntax format

Cocos Creator 3D and Cocos Creator use a different syntax format.

Cocos Creator 3D has full support for ES6 and TypeScript. Therefore, Cocos Creator 3D only supports ES6 and TypeScript classes. In addition, we also support TypeScript syntax hints.

Cocos Creator supports only ES5 classes.

Please keep this precaution in mind.

results matching ""

    No results matching ""