mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
add sorting & tiled help doc (#15900)
* add sorting help doc * add tiled tile doc
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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`,
|
||||
|
||||
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user