修正编辑器中表现

This commit is contained in:
lujun
2023-02-06 09:40:30 +08:00
parent c4bce47c1b
commit 0e1b6793d5
2 changed files with 438 additions and 13 deletions

View File

@@ -1,11 +1,12 @@
import { _decorator, Component, Node, ccenum, CCInteger, CCFloat, Enum, director, UI, UIRenderer } from 'cc';
import { DEFAULT_SORTING_PRIORITY, ORDER_IN_LAYER_MAX, SortingLayer } from './sorting-define';
const { ccclass, property, type, disallowMultiple, requireComponent } = _decorator;
const { ccclass, property, type, disallowMultiple, requireComponent, executeInEditMode } = _decorator;
@ccclass('lcc-ui/SortingGroup')
@requireComponent(UIRenderer)
@disallowMultiple
@disallowMultiple(true)
@executeInEditMode(true)
export class SortingGroup extends Component {
/**
* 排序层