大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0070 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function() { var t = Laya.loader.getRes("https://s2.d2scdn.com/2017/12/ ... 6quot;); var ape = new Sprite(); ape.scaleX = 0.5 ape.scaleY = 1 ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); ...
来源: Laya_社区 发布时间: 20171220
...后添加到舞台 Laya.loader.load("./res/atlas/ui.atlas",Handler.create(this,onLoaded)); } private function onLoaded():void { //实例导出的UI类 var efc:EffectAnimationDemoUI = new EffectAnimationDemoUI(); //添加到舞台 Laya.stage.addChild(efc); } } } ``` 运行后,按钮被按下时,...
来源: Laya2.0_文档 发布时间: 20210715
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 ...
来源: Laya3.0_api 发布时间: 20231102
...功后,执行onLoaded回调方法 Laya.loader.load(skin, Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个Button实例 var btn:Button = new Button(skin); //将Button添加到舞台 Laya.stage.addChild(btn); //设置Button相关的属性 btn.width = 100; btn.heigh...
来源: Laya2.0_文档 发布时间: 20210715
...e. Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store. 2018-02-28 0 2 分享 微博 QZONE 微信 riven 赞同来自: 请问你们新的库什...
来源: Laya_社区 发布时间: 20180225
...用两次destroyJoint ;box2d.ENABLE_ASSERTS&&box2d.b2Assert(0<this.m_jointCount); 这句话会报错 2018-11-06 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 提供复现精简demo 2018-11-07 0 0 分享 微博 QZONE 微信 kura 赞同来自: 心塞 ,难道移除sprite时需...
来源: Laya_社区 发布时间: 20181106
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 ...
来源: Laya3.0_api 发布时间: 20231102
... 改成xml加载也不行 Laya.loader.load("res/msyhbd.fnt",new Handler(this,function():void{ }),null,Loader.XML) 这样都报错 2018-05-16 0 7 分享 微博 QZONE 微信 薛召 赞同来自: 加入xml解析后,部...
来源: Laya_社区 发布时间: 20180410
...exture' of null 02-06 14:59:43.858 6545 6658 I LayaBox : var glTexture=this._source=gl.createTexture(); 02-06 14:59:43.858 6545 6658 I LayaBox : ^ 02-06 14:59:43.858 6545 6658 I LayaBox : TypeError: Cannot read property 'createTexture' of nu...
来源: Laya_社区 发布时间: 20180206
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Camera Overrides RenderableSprite3D.clone Defined in laya/d3/core/Camera.ts:758 Returns Camera contains contains(node: Node): boolean Inherited...
来源: Laya3.0_api 发布时间: 20231115