mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-12 05:01:03 +00:00
排除一些会导致warning的属性代码
This commit is contained in:
parent
43c0d755f7
commit
bc2cbce8dd
@ -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"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user