mirror of
https://github.com/szrpf/DataBoardDemo.git
synced 2024-12-25 03:08:33 +00:00
v2.1
This commit is contained in:
parent
919e2dd3a4
commit
547cdbb04c
@ -161,7 +161,7 @@ export default class DataBoard extends cc.Component {
|
|||||||
this.boardNode.zIndex = cc.macro.MAX_ZINDEX;
|
this.boardNode.zIndex = cc.macro.MAX_ZINDEX;
|
||||||
this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy;
|
this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy;
|
||||||
this.boardNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor;
|
this.boardNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor;
|
||||||
|
|
||||||
this.outlineBoxNode = new cc.Node('OutlineBox');
|
this.outlineBoxNode = new cc.Node('OutlineBox');
|
||||||
this.outlineBoxNode.setParent(this.boardNode);
|
this.outlineBoxNode.setParent(this.boardNode);
|
||||||
this.outlineBoxNode.addComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
|
this.outlineBoxNode.addComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture);
|
||||||
|
Loading…
Reference in New Issue
Block a user