Skip to content

Commit

Permalink
Merge pull request #3110 from MrKylinGithub/master
Browse files Browse the repository at this point in the history
feat(publish:all:pro):fixed some issues.
  • Loading branch information
MrKylinGithub authored Dec 25, 2024
2 parents d5fe40a + b299cb4 commit 816253b
Show file tree
Hide file tree
Showing 74 changed files with 163 additions and 76 deletions.
2 changes: 1 addition & 1 deletion versions/2.4/en/publish/subpackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ When building for the WeChat Mini Game, the configuration of the Asset Bundle wi

At present, the size of the WeChat Mini Game subpackage has following restrictions:

- The size of all subpackage of the entire Mini Game can not exceed **20M**.
- The size of all subpackage of the entire Mini Game can not exceed **30M**.
- The size of a single subpackage is not limited.
- The main package size can not exceed **4M**.

Expand Down
2 changes: 1 addition & 1 deletion versions/2.4/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/2.4/zh/publish/subpackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Asset Bundle 是以 **文件夹** 为单位进行配置的。当我们在 **资

目前微信小游戏分包大小有以下限制:

- 整个微信小游戏所有分包大小不超过 **20M**
- 整个微信小游戏所有分包大小不超过 **30M**
- 单个分包不限制大小
- 主包大小不能超过 **4M**

Expand Down
2 changes: 1 addition & 1 deletion versions/3.0/en/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The __Box2D__ physics module (not available in the Builtin module) also provides
```ts
const results = PhysicsSystem2D.instance.rayCast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.0/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/3.0/zh/editor/hierarchy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![面板全览](img/thumb.gif)

- 选中节点,节点呈现蓝底黄字的高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- 选中节点,节点呈现高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- **工具栏** 中的功能包括:**新建节点按钮(+)****搜索类型按钮****搜索框****全部折叠/展开按钮****刷新列表按钮**
- **节点列表** 主要体现节点的层级关系,根节点是 **场景节点(Scene)**,编辑 Prefab 文件时,自身的节点作为根节点。可以在这里用右键菜单或者拖拽操作对节点进行增删修改。
- 面板支持键盘快捷方式:
Expand Down
2 changes: 2 additions & 0 deletions versions/3.0/zh/getting-started/project-structure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

- `profiles`:编辑器配置

- `settings`:项目设置

- `temp`:临时文件目录

- `package.json`:项目配置
Expand Down
2 changes: 1 addition & 1 deletion versions/3.0/zh/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Box2D 物理模块(Builtin 模块没有)提供了射线检测来检测给定
```ts
const results = PhysicsSystem2D.instance.rayCast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.1/en/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The __Box2D__ physics module (not available in the Builtin module) also provides
```ts
const results = PhysicsSystem2D.instance.rayCast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.1/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/3.1/zh/editor/hierarchy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![面板全览](img/thumb.gif)

- 选中节点,节点呈现蓝底黄字的高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- 选中节点,节点呈现高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- **工具栏** 中的功能包括:**新建节点按钮(+)****搜索类型按钮****搜索框****全部折叠/展开按钮****刷新列表按钮**
- **节点列表** 主要体现节点的层级关系,根节点是 **场景节点(Scene)**,编辑 Prefab 文件时,自身的节点作为根节点。可以在这里用右键菜单或者拖拽操作对节点进行增删修改。
- 面板支持键盘快捷方式:
Expand Down
2 changes: 2 additions & 0 deletions versions/3.1/zh/getting-started/project-structure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

- `profiles`:编辑器配置

- `settings`:项目设置

- `temp`:临时文件目录

- `package.json`:项目配置
Expand Down
2 changes: 1 addition & 1 deletion versions/3.1/zh/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Box2D 物理模块(Builtin 模块没有)提供了射线检测来检测给定
```ts
const results = PhysicsSystem2D.instance.rayCast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.2/en/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The __Box2D__ physics module (not available in the Builtin module) also provides
```ts
const results = PhysicsSystem2D.instance.rayCast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.2/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/3.2/zh/editor/hierarchy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![面板全览](img/thumb.gif)

- 选中节点,节点呈现蓝底黄字的高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- 选中节点,节点呈现高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- **工具栏** 中的功能包括:**新建节点按钮(+)****搜索类型按钮****搜索框****全部折叠/展开按钮****刷新列表按钮**
- **节点列表** 主要体现节点的层级关系,根节点是 **场景节点(Scene)**,编辑 Prefab 文件时,自身的节点作为根节点。可以在这里用右键菜单或者拖拽操作对节点进行增删修改。
- 面板支持键盘快捷方式:
Expand Down
2 changes: 2 additions & 0 deletions versions/3.2/zh/getting-started/project-structure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

- `profiles`:编辑器配置

- `settings`:项目设置

- `temp`:临时文件目录

- `package.json`:项目配置
Expand Down
2 changes: 1 addition & 1 deletion versions/3.2/zh/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Box2D 物理模块(Builtin 模块没有)提供了射线检测来检测给定
```ts
const results = PhysicsSystem2D.instance.rayCast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.3/en/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The __Box2D__ physics module (not available in the Builtin module) also provides
```ts
const results = PhysicsSystem2D.instance.rayCast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.3/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/3.3/zh/editor/hierarchy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![面板全览](img/thumb.gif)

- 选中节点,节点呈现蓝底黄字的高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- 选中节点,节点呈现高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- **工具栏** 中的功能包括:**新建节点按钮(+)****搜索类型按钮****搜索框****全部折叠/展开按钮****刷新列表按钮**
- **节点列表** 主要体现节点的层级关系,根节点是 **场景节点(Scene)**,编辑 Prefab 文件时,自身的节点作为根节点。可以在这里用右键菜单或者拖拽操作对节点进行增删修改。
- 面板支持键盘快捷方式:
Expand Down
2 changes: 2 additions & 0 deletions versions/3.3/zh/getting-started/project-structure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

- `profiles`:编辑器配置

- `settings`:项目设置

- `temp`:临时文件目录

- `package.json`:项目配置
Expand Down
2 changes: 1 addition & 1 deletion versions/3.3/zh/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Box2D 物理模块(Builtin 模块没有)提供了射线检测来检测给定
```ts
const results = PhysicsSystem2D.instance.rayCast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.4/en/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The __Box2D__ physics module (not available in the Builtin module) also provides
```ts
const results = PhysicsSystem2D.instance.raycast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.4/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/3.4/zh/editor/hierarchy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![面板全览](img/thumb.gif)

- 选中节点,节点呈现蓝底黄字的高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- 选中节点,节点呈现高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- **工具栏** 中的功能包括:**新建节点按钮(+)****搜索类型按钮****搜索框****全部折叠/展开按钮****刷新列表按钮**
- **节点列表** 主要体现节点的层级关系,根节点是 **场景节点(Scene)**,编辑 Prefab 文件时,自身的节点作为根节点。可以在这里用右键菜单或者拖拽操作对节点进行增删修改。
- 面板支持键盘快捷方式:
Expand Down
2 changes: 2 additions & 0 deletions versions/3.4/zh/getting-started/project-structure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

- `profiles`:编辑器配置

- `settings`:项目设置

- `temp`:临时文件目录

- `package.json`:项目配置
Expand Down
2 changes: 1 addition & 1 deletion versions/3.4/zh/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Box2D 物理模块(Builtin 模块没有)提供了射线检测来检测给定
```ts
const results = PhysicsSystem2D.instance.raycast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.5/en/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The __Box2D__ physics module (not available in the Builtin module) also provides
```ts
const results = PhysicsSystem2D.instance.raycast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.5/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/3.5/zh/editor/hierarchy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![面板全览](img/thumb.gif)

- 选中节点,节点呈现蓝底黄字的高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- 选中节点,节点呈现高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- **工具栏** 中的功能包括:**新建节点按钮(+)****搜索类型按钮****搜索框****全部折叠/展开按钮****刷新列表按钮**
- **节点列表** 主要体现节点的层级关系,根节点是 **场景节点(Scene)**,编辑 Prefab 文件时,自身的节点作为根节点。可以在这里用右键菜单或者拖拽操作对节点进行增删修改。
- 面板支持键盘快捷方式:
Expand Down
2 changes: 2 additions & 0 deletions versions/3.5/zh/getting-started/project-structure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

- `profiles`:编辑器配置

- `settings`:项目设置

- `temp`:临时文件目录

- `package.json`:项目配置
Expand Down
2 changes: 1 addition & 1 deletion versions/3.5/zh/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Box2D 物理模块(Builtin 模块没有)提供了射线检测来检测给定
```ts
const results = PhysicsSystem2D.instance.raycast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.6/en/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The __Box2D__ physics module (not available in the Builtin module) also provides
```ts
const results = PhysicsSystem2D.instance.raycast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.6/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/3.6/zh/editor/hierarchy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![面板全览](img/thumb.gif)

- 选中节点,节点呈现蓝底黄字的高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- 选中节点,节点呈现高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- **工具栏** 中的功能包括:**新建节点按钮(+)****搜索类型按钮****搜索框****全部折叠/展开按钮****刷新列表按钮**
- **节点列表** 主要体现节点的层级关系,根节点是 **场景节点(Scene)**,编辑 Prefab 文件时,自身的节点作为根节点。可以在这里用右键菜单或者拖拽操作对节点进行增删修改。
- 面板支持键盘快捷方式:
Expand Down
2 changes: 2 additions & 0 deletions versions/3.6/zh/getting-started/project-structure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
- `local`:日志文件目录

- `profiles`:编辑器配置

- `settings`:项目设置

- `temp`:临时文件目录

Expand Down
2 changes: 1 addition & 1 deletion versions/3.6/zh/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Box2D 物理模块(Builtin 模块没有)提供了射线检测来检测给定
```ts
const results = PhysicsSystem2D.instance.raycast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
2 changes: 1 addition & 1 deletion versions/3.7/en/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The __Box2D__ physics module (not available in the Builtin module) also provides
```ts
const results = PhysicsSystem2D.instance.raycast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ The same applies to ALPHA_TEST_CHANNEL. By default, the 'a' channel is used, but

Surface Shader uses a texture as a PBR map, and according to the definition, we can know the meaning of each channel.
- r: Ambient Occlusion
- r: Roughness
- g: Roughness
- b: Metallic
- a: Specular Intensity

Expand Down
2 changes: 1 addition & 1 deletion versions/3.7/zh/advanced-topics/jsb-manual-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jsb.fileDownloader.requestDownload(url, savePath, cookies, options, (success, ur

## 前置

在开始之前,我们需要需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。
在开始之前,我们需要知道有关 ScriptEngine 抽象层、相关 API 等相关知识,这部分内容如果已从 Cocos Creator 文档了解可跳过,直接进行 **实践** 部分。

### 抽象层

Expand Down
2 changes: 1 addition & 1 deletion versions/3.7/zh/editor/hierarchy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![面板全览](img/thumb.gif)

- 选中节点,节点呈现蓝底黄字的高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- 选中节点,节点呈现高亮状态,节点的详细属性会在 **属性检查器** 中显示。点击面板空白区域,可以 **取消选中**
- **工具栏** 中的功能包括:**新建节点按钮(+)****搜索类型按钮****搜索框****全部折叠/展开按钮****刷新列表按钮**
- **节点列表** 主要体现节点的层级关系,根节点是 **场景节点(Scene)**,编辑 Prefab 文件时,自身的节点作为根节点。可以在这里用右键菜单或者拖拽操作对节点进行增删修改。
- 面板支持键盘快捷方式:
Expand Down
2 changes: 2 additions & 0 deletions versions/3.7/zh/getting-started/project-structure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
- `local`:日志文件目录

- `profiles`:编辑器配置

- `settings`:项目设置

- `temp`:临时文件目录

Expand Down
2 changes: 1 addition & 1 deletion versions/3.7/zh/physics-2d/physics-2d-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Box2D 物理模块(Builtin 模块没有)提供了射线检测来检测给定
```ts
const results = PhysicsSystem2D.instance.raycast(p1, p2, type, mask);

for (const i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
const result = results[i];
const collider = result.collider;
const point = result.point;
Expand Down
Loading

0 comments on commit 816253b

Please sign in to comment.