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

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

981. HTMLDivElement <p><p/>换行<br/>的问题 [ 55%]

...换行标签,测试是可以的,注意:换行要有行高lineHeight var html3:HTMLDivElement=new HTMLDivElement(); html3.style.lineHeight=30; html3.style.width=300; html3.style.align="center"; html3.innerHTML="&lt;span&gt;我的第一行要换行&lt;/span&gt;&lt;br/&gt;&lt;span&gt;BBBBBBBBBBB&...

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

982. tree异步选中问题 [ 55%]

...uot;arrow&quot;) { //Tree的开/关,当打开一个时,另一个关闭 var item:Cell = e.target.parent as Cell; if (item.dataSource.isOpen == true) { if (this.selectedIndex == -1) { this.selectedIndex = index; } else { if (this.selectedIndex &lt; index) { this.listUI.typeTree.setItemState(this.s...

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

983. 模糊滤镜的值为什么不能设置大一点????滤镜是不是没做好? [ 55%]

...糊滤镜的值为什么不能设置大一点????滤镜是不是没做好? var blurFilter = new BlurFilter(); blurFilter.strength = 20; obj.filters = [blurFilter]; 如果 strength 设置7以上, 物品obj就开始变透明, 并不是模糊程度增加, 是怎么回事?? 2017-10-25 添加评论 免...

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

984. Dialog和View用destroy和Laya.stage.removeChild有什么区别? [ 55%]

...问题 用二的幂次方图集和非二的幂次方图集区别在哪? var 与 name 的详细区别是什么? [分享]Dialog 点击边缘不关闭的 Demo示例 Laya.Handler.create和new Laya.Handler有啥区别 Dialog设置为模式窗口时关闭有问题 layaair与layabox的区别 LayaAirIDE...

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

985. 编辑模式下定义的变量如何在代码模式下获取啊 [ 55%]

...hildByName('scene'); // 直接父对象里就包含了一个和你定义的var属性同名的属性(指针)了 let buttonStart = scene.buttonStart; // 当然你也可以通过name去找,指针指向的都是同一个对象 let buttonStart_getByName = scene.getChildByName('buttonStart'); // ...

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

986. Uncaught TypeError: Game.super is not a function [ 55%]

Uncaught TypeError: Game.super is not a function var Game = (function(_super){ function Game() { Game.super(this); } Laya.ClassUtils(Game,"Game",_super) return Game; })(ui.GameUI) 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

987. SimpleButton的状态layaFlash支持吗? [ 55%]

...t overState,set downState,set hitTestState 都不可设置。 例如:var btn:SimpleButton = new SimpleButton(_upState, _overState, _downState, _hitTestState); trace(btn.upState); //Output:null trace(btn.overState); //Output:null trace(btn.downState); //Output:null trace(btn.hitTestState); //Ou...

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

988. unity 导出scene 子元素的animator 怎么控制? [ 55%]

unity 导出scene 子元素的animator 怎么控制? var bianfuyu=scene.getChildByName('bianfuyu') that.ss=fuzhi(bianfuyu);      //clone() that.tt=ss.getComponentByIndex(0);     // tt   = animator tt.playbackRate =5  ;       //不会起作用 console.log(tt.currentKeyframeIndex)     ...

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

989. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 55%]

...了一个简单的demo,按上述修改在微信浏览器上测试正常:var videoTexTure:Laya.VideoTexture = new Laya.VideoTexture(); videoTexTure.source = "https://www.layaair.com/3.x/de ... 3B%3B videoTexTure.on(Laya.Event.READY,this,()=&gt;{ videoTexTure.play(); var image:Laya.Image = new Laya....

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

990. 无法实例化sprite,请大神帮忙看一下额 [ 55%]

... 上图 2017-04-18 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: var sp=new Laya.Sprite()试下! 2017-04-18 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 tnac 相关问题 2.0一不小心删了bin目录下的某个场景json...

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