This commit is contained in:
xu_yanfeng 2025-01-29 21:19:38 +08:00
parent 8e67104ec6
commit d055defe3d
2 changed files with 14 additions and 2 deletions

View File

@ -73,6 +73,18 @@ export function getEnumListConfig() {
return cc.Label.Overflow.__enums__;
},
},
{
key: "verticalAlign",
values() {
return cc.Label.VerticalAlign.__enums__;
},
},
{
key: "horizontalAlign",
values() {
return cc.Label.HorizontalAlign.__enums__;
},
},
],
},
{
@ -212,7 +224,7 @@ export function getEnumListConfig() {
],
},
{
type: cc.VidePlayer,
type: cc.VideoPlayer,
list: [
{
key: "resourceType",

View File

@ -256,7 +256,7 @@ export class Inspector extends InjectEvent {
if (node instanceof cc.Scene) {
// 场景不允许获取active引擎会报错
} else {
data.active = !!node.active;
data.active = !!node.active && !!node.activeInHierarchy;
}
this.inspectorGameMemoryStorage[node.uuid] = node;
let nodeChildren = node.children;