弄了半天不显示,原来是未设置 node.layer属性
let node:Node = new Node()
node.addComponent(Sprite);
node.setPosition(100,100,0);
node.layer = Layers.Enum.UI_2D //不添加不显示
this.node.addChild(node);
resources.load("images/1/spriteFrame", SpriteFrame, (err, spriteFrame) => {
node.getComponent(Sprite).spriteFrame = spriteFrame;
console.info(self.node.getChildByName("abc"));
console.info(err)
});