大约有 116 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
...例化 //简单的鼠标提示 var button:Button=new Button(); Laya.stage.addChild(button); button.label="button One"; button.pos(100,100); button.skin="comp/button.png"; button.toolTip="我是button One!"; //自定义鼠标提示 var button2:Button=new Button(); Laya.stage.addChild(button2); button...
来源: Laya_社区 发布时间: 20161115
...Slider(skin:String = null) 创建一个新的 Slider 类示例。 Slider addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Ar...
来源: laya_api 发布时间: 20170929
...h x y zOrder _updateMark Methods _initialize _processActive _setCullCamera addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...
来源: Laya3.0_api 发布时间: 20231115
...top等 Charles • 2017-02-09 10:55 這個動畫不需要控制,只要能addChild和remove即可。我的demo里加載時報找不到圖片,請看看。 Charles • 2017-02-09 11:16 重新又用IDE轉換了一次,沒問題了。 cuixueying • 2017-02-22 20:15 好的,有问题及时沟通!...
来源: Laya_社区 发布时间: 20170208
...mage("smallmap/" + _mapID + ".jpg", 0, 0, mapWidth, mapHeight); _container.addChild(_minMap); 其中 mapWidth =1600 mapHeight = 1900 难道引擎底层再替换前没有做销毁吗 2018-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180913
...ordWrap x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater changeText clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce ...
来源: Laya3.0_api 发布时间: 20231115
...static GameStart:GameStart; GameMain.GameStart=new GameStart(); Laya.stage.addChild(GameMain.GameStart); 报错:file: 'file:///e%3A/LAYABOX/CaiCi/src/GameMain.ts' severity: '错误' message: 'Argument of type 'GameStart' is not assignable to parameter of type 'Node'. Property '_childs' is missing ...
来源: Laya_社区 发布时间: 20170826
...Methods Show Inherited Public Methods MethodDefined By Sprite()Sprite addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...ure(Laya.loader.getRes(this.monkey2),100,50); //添加到舞台 Laya.stage.addChild(img); }求教一下Promise方式来实现这段代码应该写,谢谢 2017-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...
来源: Laya_社区 发布时间: 20170825
...loadAtlas("res/atlas/atlasLight.json",null,"play"); ani.play(); Laya.stage.addChild(ani); 有的开发者会发现,如果loadAtlas方法使用了模板名称,使用Loader.clearRes无法彻底清理掉animation的所有缓存,这个是主要是因为,资源虽然移除了,但是模板动...
来源: Laya_社区 发布时间: 20161129