大约有 372 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0075 秒)
Laya_社区(116) Laya2.0_文档(64) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya3.0_文档(20) Laya2.0_示例(1)
...s Show Inherited Public Methods MethodDefined By SoundNode()SoundNode addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Funct...
来源: laya_api 发布时间: 20170422
...龙蛇马羊猴鸡狗猪年快乐"; testFontClip.spaceY = 10; this.owner.addChild(clipnum); this.owner.addChild(fontClip); this.owner.addChild(testFontClip); this.owner.addChild(testClipNum); this.owner.addChild(clipnum1); } } 通常FontClip已经可以满足开发者的基本需求。如果有特...
来源: Laya3.0_文档 发布时间: 20251010
... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...
来源: laya_api 发布时间: 20170929
... private onLoaded(): void { this.tMap.mapSprite().removeSelf(); this.owner.addChild(this.tMap.mapSprite()); } //地图加载完成的回调 private completeHandler(e: any = null): void { this.onLoaded(); } } 编译运行代码,效果如图3-3所示,说明地图已创建成功。 (图3-3) 3.3...
来源: Laya3.0_文档 发布时间: 20251010
...w LoginPanel(); // loginPanel.init(); var s = new Laya.Scene(); Laya.stage.addChild(s); s.addChild(Laya.Sprite3D.load("res/h5/LayaScene_camera/camera.lh")); Laya.Sprite3D.instantiate(Laya.loader.getRes("res/h5/LayaScene_Effect/Effect.lh"),s,true); Laya.Sprite3D.instantiate(Laya.loader.getRes("res/h5...
来源: Laya_社区 发布时间: 20180403
...lect);//设置 comboBox 选择项改变时执行的处理器。 Laya.stage.addChild(comboBox);//将此 comboBox 对象添加到显示列表。 } private function onSelect(index:int):void { trace("当前选中的项对象索引: ",index); } } } example Laya.init(640, 800);//设置游戏画布宽高...
来源: Laya3.0_api 发布时间: 20231115
... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...sole.info(mapLayer.layerName); this.sp.pos(0,0); mapLayer._childs[0].addChild(this.sp); } } new GameInfo(); 遇到的问题1 把精灵插入地图时 如果代码这样写就会报错 mapLayer.addChild(this.sp); 必须要这样写才可以 mapLayer._childs[0].addChild(this.sp); ...
来源: Laya_社区 发布时间: 20171125
...Methods MethodDefined By Scene() 创建一个 Scene 实例。 Scene addChild(node:Node):Node[override] 添加子节点。 Scene addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Scene addChildren(... args):void 批量增加子节点 Node addFrus...
来源: laya_api 发布时间: 20170929
... y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...
来源: Laya3.0_api 发布时间: 20231115