• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 421 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)

341. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 57%]

...Handler(this,this.onCallBack),null,Laya.Loader.BUFFER); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onKey); //######################################################################## } private curStatus:boolean = false; private refreshCamera(){ this.curStatus =!this.curStatus; let data:ArrayBuffer =...

来源: Laya_社区 发布时间: 20220815

342. laya.ui.Button [ 56%]

...All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显...

来源: Laya2.0_api 发布时间: 20190513

343. safari横屏在一定条件下会出现显示内容错位问题。必现!! [ 56%]

... 2 个回复 cuixueying 赞同来自: 你试下,给Laya.Stage监听一个Event.RESIZE事件,在RESIZE的回调里重置下适配模式看下能不能避免这个问题! 2017-07-07 0 4 分享 微博 QZONE 微信 yung 赞同来自: 如果不下移,那么上面会被地址栏挡着一部分,...

来源: Laya_社区 发布时间: 20170707

344. dialog 遮挡 [ 56%]

...); createDialog("444",400,400); createDialog("555",500,500); Laya.stage.on(Event.CLICK,this,onClick); } private function onClick():void { alert(Dialog.manager.numChildren+"");//manager是DialogManager的实例,创建多少个dialog,manager下就有多少的子对象 var dia:Dialog=Dialog.manager...

来源: Laya_社区 发布时间: 20170606

345. layanative问题 [ 56%]

...图集加载问题 关于适配采用showAll后留白部分的颜色问题 event自定义事件的问题 关于apk打包动画卡的问题 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 我这样载入场景问题出现在哪呢?? 问题状态 最新活动: 2017-07-06 22:07 浏览...

来源: Laya_社区 发布时间: 20170706

346. Dialog限制拖动区域有什么方法 [ 56%]

... Laya_Aaron 赞同来自: LT dialog类  private function _onMouseDown(e:Event):void {             var point:Point = this.getMousePoint();             if (_dragArea.contains(point.x, point.y)) this.startDrag();             else this.stopDrag();         } ...

来源: Laya_社区 发布时间: 20180719

347. laya.d3.core.particleShuriKen.ShurikenParticleRenderer [ 56%]

...ass ShurikenParticleRendererInheritanceShurikenParticleRenderer BaseRender EventDispatcher Object ShurikenParticleRender 类用于创建3D粒子渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  bounds : Bounds[override] [read-only...

来源: Laya2.0_api 发布时间: 20190513

348. 如何让一个点击事件执行完立即移除 [ 56%]

...何让一个点击事件执行完立即移除 Laya.sg_paiui.zybut2.on(Laya.Event.CLICK,this,function(th,e){                                 Laya.sg_paiui.zybut1.visible = false; }) 比如说这个事件 如何让他执行完立即移除 2017-10-11 添加评论 免费帖 --> ...

来源: Laya_社区 发布时间: 20171011

349. httpRequest send返回Request failed Status:0 [ 56%]

...quest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // priva...

来源: Laya_社区 发布时间: 20180629

350. 用最新版本的IDE开发,用AS语言开发,用HttpRequest加载图片报错,用JS语言开发却可以加载 [ 56%]

...p:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuff...

来源: Laya_社区 发布时间: 20171011