Signed-off-by: szrpf <27185709@qq.com>

This commit is contained in:
szrpf 2023-05-26 16:21:47 +08:00
parent 08dd874a91
commit 919e2dd3a4

View File

@ -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);