cocos-docs icon indicating copy to clipboard operation
cocos-docs copied to clipboard

Manual docs content for Cocos Creator

Results 216 cocos-docs issues
Sort by recently updated
recently updated
newest added

URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/ui-system/components/editor/canvas.md 多分辨率适配的图不对

URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/ui-system/components/editor/ui-coordinate-tracker.md 这组件的SyncEvents事件处理器参数是: localUIPos: Vec3, distanceScale: number, customEventData: string 而其他组件(同样使用EventHandler的事件, 如Button的点击)的事件处理器的参数: event: Event, customEventData: string 建议统一都有event参数, 方便获取来源对象, 这样就可以多个节点使用同一个事件来处理了 现在只能另外存储引用, 然后用第三个参数customEventData来传递(这个文档里也没说, 还是自己试出来的)

URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/physics/physics/joint-component.md 教程劝退系列

URL : https://docs.cocos.com/creator/manual/zh/getting-started/quick-start.html#%E5%8A%A0%E5%85%A5%E9%9F%B3%E6%95%88 按照教程中的指示加入音效后,开始游戏后可以正常播放音效,但在游戏重新开始后会报错。Debug时发现问题在于教程重新开始游戏是直接调用的cc.director.loadScene,查看文档上说明该方法“默认会将场景内所有节点和其他实例销毁”,因此挂在Player节点下的jumpAudio属性在重新加载场景时就会被初始化为null,导致Player.js中调用cc.audioEngine.playEffect(this.jumpAudio, false)发生错误。尝试将Player节点制作成PlayerPrefab,每次加载场景时通过生成PlayerPrefab挂接在Canvas节点下来完成初始化,发现可以解决该问题。

URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/advanced-topics/oc-reflection.md#objective-c-%E6%89%A7%E8%A1%8C-javascript-%E4%BB%A3%E7%A0%81 代码示例部分建议加上需要导入的头文件: ```objc #import “cocos/platform/CCApplication.h” #import “cocos/base/CCScheduler.h” #import “cocos/scripting/js-bindings/jswrapper/SeApi.h” ... Application::getInstance()->getScheduler()->performFunctionInCocosThread([=](){ se::ScriptEngine::getInstance()->evalString(script.c_str()); }); ```

URL : https://docs.cocos.com/creator/manual/en/asset-manager/bundle.html#priority I think there is a mistake on bundle priority for internal bundle. It must be 1 not 11, I think.

Translate extension/inspector.md

URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/release-notes/upgrade-guide-v3.0.md 你们整天升级改来改去 你们确定大家都能接受 新的版本用原来的代码压根就不知道写了 这是拒人于千里之外 无法进行下去了

URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/editor/extension/inspector.md 相比较2.4的文档,这里并没有针对inspector与对应的组件的交互有过多的介绍。