Files
cocos4/native
黄森斌 67e9aa1f33 V3.6.0 allow multiple custom scripts exist in project with one same className (#11763)
* 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>
2022-07-05 15:19:56 +08:00
..
2022-06-20 15:11:46 +08:00
2020-06-18 14:12:04 +08:00
2022-05-04 13:09:24 +08:00
2022-04-27 14:59:23 +08:00
2022-04-18 10:24:54 +08:00
2021-01-14 14:36:37 +08:00
2022-06-16 13:39:54 +08:00

cocos-engine native part

It is the native backend of Cocos Creator. It works on iOS, Android, macOS and Windows.

Coding format and coding style

The coding format file is .clang-format, and the coding style fomat file is .clang-tidy. Please use clang-format to format the codes and use clang-tidy to fix the coding style before commiting codes. See the linter auto-fix guide for more information.

Build Requirements

  • macOS 10.14+, Xcode 11.5+ to build mac games
  • with iOS 11.0+ to build iOS games
  • or Windows 7+, Visual Studio 2017 15.7+ / Visual Studio 2019 to build win64 games
  • NDK 18-21 is required to build Android games (22+ is not supported)
  • Cmake 3.8+ is required
  • use C++17, but can only use these C++17 features