add sorting & tiled help doc (#15900)

* add sorting help doc

* add tiled tile doc
This commit is contained in:
ChiaNing
2023-08-09 11:23:30 +08:00
committed by GitHub
parent 1adef66108
commit 71eedef4fa
3 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -22,7 +22,7 @@
THE SOFTWARE.
*/
import { ccclass, disallowMultiple, editable, executeInEditMode, menu, range, serializable, type } from 'cc.decorator';
import { ccclass, disallowMultiple, editable, executeInEditMode, help, menu, range, serializable, type } from 'cc.decorator';
import { clamp } from '../core/math';
import { SortingLayers } from './sorting-layers';
import { Component } from '../scene-graph/component';
@@ -41,6 +41,7 @@ const MIN_INT16 = -1 << 15;
*/
@ccclass('cc.Sorting')
@menu('Sorting/Sorting')
@help('i18n:cc.Sorting')
@disallowMultiple
@executeInEditMode
export class Sorting extends Component {
+2
View File
@@ -130,6 +130,7 @@ module.exports = link(mixin({
SafeArea: `${url}/${version}/manual/en/ui-system/components/editor/safearea.html`,
Terrain: `${url}/${version}/manual/en/editor/terrain/`,
TiledMap: `${url}/${version}/manual/en/editor/components/tiledmap.html`,
TiledTile: `${url}/${version}/manual/en/editor/components/tiledtile.html`,
Spine: `${url}/${version}/manual/en/editor/components/spine.html`,
DragonBones: `${url}/${version}/manual/en/editor/components/dragonbones.html`,
OctreeCulling: `${url}/${version}/manual/en/advanced-topics/native-scene-culling.html`,
@@ -145,6 +146,7 @@ module.exports = link(mixin({
Skin: `${url}/${version}/manual/en/shader/advanced-shader/skin.html`,
RenderRoot2D: `${url}/${version}/manual/en/ui-system/components/editor/renderroot2d.html`,
ReflectionProbe: `${url}/${version}/manual/en/concepts/scene/light/probe/reflection-art-workflow.html`,
Sorting: `${url}/${version}/manual/en/engine/rendering/sorting.html`,
},
assets: {
javascript: `${url}/${version}/manual/en/concepts/scene/node-component.html`,
+2
View File
@@ -130,6 +130,7 @@ module.exports = link(mixin({
SafeArea: `${url}/${version}/manual/zh/ui-system/components/editor/safearea.html`,
Terrain: `${url}/${version}/manual/zh/editor/terrain/`,
TiledMap: `${url}/${version}/manual/zh/editor/components/tiledmap.html`,
TiledTile: `${url}/${version}/manual/zh/editor/components/tiledtile.html`,
Spine: `${url}/${version}/manual/zh/editor/components/spine.html`,
DragonBones: `${url}/${version}/manual/zh/editor/components/dragonbones.html`,
OctreeCulling: `${url}/${version}/manual/zh/advanced-topics/native-scene-culling.html`,
@@ -145,6 +146,7 @@ module.exports = link(mixin({
Skin: `${url}/${version}/manual/zh/shader/advanced-shader/skin.html`,
RenderRoot2D: `${url}/${version}/manual/zh/ui-system/components/editor/renderroot2d.html`,
ReflectionProbe: `${url}/${version}/manual/zh/concepts/scene/light/probe/reflection-art-workflow.html`,
Sorting: `${url}/${version}/manual/zh/engine/rendering/sorting.html`,
},
assets: {
javascript: `${url}/${version}/manual/zh/concepts/scene/node-component.html`,