mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-19 16:38:41 +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) {
|
isExcludeProperty(node: any, key: string) {
|
||||||
const mapArray = [
|
const mapArray = [
|
||||||
|
{
|
||||||
|
type: cc.Mask,
|
||||||
|
keys: [
|
||||||
|
"color",
|
||||||
|
"customMaterial",
|
||||||
|
"material",
|
||||||
|
"materials",
|
||||||
|
"sharedMaterial",
|
||||||
|
"sharedMaterials", //
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: cc.UITransformComponent || cc.UITransform,
|
type: cc.UITransformComponent || cc.UITransform,
|
||||||
keys: ["priority"],
|
keys: ["priority"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user