排除一些会导致warning的属性代码

This commit is contained in:
xu_yanfeng 2025-02-22 11:39:30 +08:00
parent 43c0d755f7
commit bc2cbce8dd

View File

@ -395,6 +395,17 @@ export class Inspector extends InjectEvent {
isExcludeProperty(node: any, key: string) {
const mapArray = [
{
type: cc.Mask,
keys: [
"color",
"customMaterial",
"material",
"materials",
"sharedMaterial",
"sharedMaterials", //
],
},
{
type: cc.UITransformComponent || cc.UITransform,
keys: ["priority"],