From 919e2dd3a4d7aa1b5e0733e2b12e6f5ca5a36a98 Mon Sep 17 00:00:00 2001 From: szrpf <27185709@qq.com> Date: Fri, 26 May 2023 16:21:47 +0800 Subject: [PATCH] Signed-off-by: szrpf <27185709@qq.com> --- assets/Script/DataBoard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/Script/DataBoard.ts b/assets/Script/DataBoard.ts index 738ecb5..a896e14 100644 --- a/assets/Script/DataBoard.ts +++ b/assets/Script/DataBoard.ts @@ -161,7 +161,7 @@ export default class DataBoard extends cc.Component { this.boardNode.zIndex = cc.macro.MAX_ZINDEX; this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy; this.boardNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor; - + this.outlineBoxNode = new cc.Node('OutlineBox'); this.outlineBoxNode.setParent(this.boardNode); this.outlineBoxNode.addComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);