大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...ure(); onAwake(): void { //获取场景中要添加视频纹理的3D节点 this.videoPlane = this.scene.getChildByName("Plane") as Laya.Sprite3D; //使用指定路径的视频文件 this.createVideo("resources/mov_bbb.mp4"); } //创建视频纹理并将其应用到Sprite3D上 private createVideo(url...
来源: Laya3.0_文档 发布时间: 20251010
LayaBox编译器BUG 对于匿名函数的编译 this不会被替换为_$this 举例 Handler.create(this,function(){this.name="test"}); 这个函数里边的this不会被替换为_$this 2017-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20171122
...aya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -100, 200, 200, "gray"); Laya.stage.addChild(this.rect); this.updateRectPos(); } private updateRectPo...
来源: Laya_示例 发布时间: 20260303
...ya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -100, 200, 200, "gray"); Laya.stage.addChild(this.rect); this.updateRectPos(); } private updateRectPo...
来源: Laya_示例 发布时间: 20260303
HtmlDivElement限制文本宽度无效? this.labaContent = new Laya.HTMLDivElement(); this.labaContent.style.fontSize = 22; this.labaContent.style.width=100; this.labaContent.style.wordWrap=false; this.labaContent.x = 60; this.labaContent.y = 5; 为什么还是不行呢?请问 我的文本是...
来源: Laya_社区 发布时间: 20170915
...: 2017-09-14 10:13 浏览: 728 关注: 2 人 dear_H • 2017-09-14 15:23 this.labaContent = new Laya.HTMLDivElement(); this.labaContent.style.fontSize = 22; this.labaContent.style.width=100; this.labaContent.style.wordWrap=false; this.labaContent.x = 60; this.labaContent.y = 5; 为什么还是不行...
来源: Laya_社区 发布时间: 20170914
...ed string uid = 1; required string token = 2; } js的代码: var proto = this.ProtoBuf.loadProtoFile("user_login.proto"); var Build = proto.build("user_login_pack"); var login = new Build(); login.uid = '100001'; login.token = "xxxxx"; var buffer = login.toArrayBuffer() this.socket.send(buffer); ...
来源: Laya_社区 发布时间: 20170921
排行榜渲染时,提示 this.bitmap.activeResource is not a function。 渲染排行榜时,报this.bitmap.activeResource is not a function 的提示。然后开放域的数据在主域中是能正常拿到的,就是渲染不出来。请问哪位大神知道这是什么原因呢?有没有...
来源: Laya_社区 发布时间: 20191104
dialog.removeSelf is not a function (一个界面)this.ui = new ui.common.PlaneGameInfoDialogUI;。。。(关闭按钮)this.ui.ibtn_close.on(Laya.Event.CLICK,this,this.ui.close);。。。(点击之后)Uncaught TypeError: dialog.removeSelf is not a function....求助大神谢谢啦~~~ 20...
来源: Laya_社区 发布时间: 20170418
...Laya.Rectangle; function layaSlot(info){ layaSlot.__super.call(this); this.size(200,200); this.graphics.drawRect(0,0,200,200,'#123456'); var viewPort = new Rectangle(0,0,200,200); this.viewport = viewPort; var ccc = new Sprite(); ...
来源: Laya_社区 发布时间: 20170323