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

大约有 3,269 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0076 秒)

231. 关于 iframe跳转地址 [ 87%]

关于 iframe跳转地址 <!DOCTYPE html> <html> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#000000"></body> <script type="text/javascript" language="javascript"> var arguments = window.location.search; var url = "http://119.29.138.145...

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

232. ts项目因为类的顺序问题报错 [ 87%]

...错 a.ts class A {}   b.ts class B{} new A()   <!--jsfile--startTag--> <script src="js/b.js"></script> <script src="js/a.js"></script> <!--jsfile--endTag-->   报错 ReferenceError: A is not defined   因为js文件的执行顺序错误,如何解决 2017-08-...

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

233. layaair2.0默认字体设置无效 [ 87%]

... 提交 1 个回复 Laya_Aaron 赞同来自: /**          * <p>文本的字体名称,以字符串形式表示。</p>          * <p>默认值为:"Arial",可以通过Text.defaultFont设置默认字体。</p>          * <p>如果运行时系...

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

234. App websocket out of memory [ 87%]

...ew PinusWSClient(); client.on(PinusWSClientEvent.EVENT_IO_ERROR, (event) => { }); client.on(PinusWSClientEvent.EVENT_CLOSE, (event) => { //触发条件,手机端把网全关了 this.testWebSocket();//这种方式会导致在短时间内App的websocket out of memory //这种方式短时间内...

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

235. LayaAirID 打包app测试 apk无法开启webgl。用浏览器扫码进入就没问题 [ 87%]

...01-06 12:07 还有就是在apk里 htmldivelement 是不是html的<image>标签就无效了 momo199059 • 2018-01-06 12:14 黑色的这个问题我知道了。颜色值一定要是6位的才有效。不是直接是“#0” Monica • 2018-01-06 15:11 @momo199059:好的,LayaNative下不支持...

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

236. zip更新 · LayaAir3.3 · 引擎文档 · LAYABOX [ 87%]

...:(url:string, local:string, onprog:(total:number,now:number,speed:number)=>boolean,oncomp:(curlret:number, httpret:number)=>void, trynum:number, opttimeout:number)=>void; 处理zip文件的ZipFile类。 interface ZipFile{ /** * 注意这个文件不要太大,因为需要在内存中解开...

来源: Laya3.0_文档 发布时间: 20251010

237. [unity动画导出] unity导出3d动画报错 [ 87%]

...[TKey,TValue].get_Item (TKey key) (at <e1319b7195c343e79b385cd3aa43f5dc>:0) n.a (UnityEngine.GameObject A_0, System.Boolean A_1, backAnimatorData A_2) (at <0524304338e24b0bb697e3c82a810b25>:0) n.a () (at <0524304338e24b0bb697e3c82a810b25>:0) n.b (System.String A_0) (at <05243043...

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

238. laya.d3.core.scene.bvh.BVHSpatial_API3.0 [ 87%]

... Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Defined in laya/d3/core/scene/bvh/BVHSpatial.ts:46 获得空间节点 Returns BVHSpatialBox<IBoundsCell> Methods addOne addOne(cell: IBoundsCell): boolean Defined in laya/d3/core/scene/bvh/BVHSpatial.ts:64 add one P...

来源: Laya3.0_api 发布时间: 20231115

239. 富文本排版问题 [ 87%]

...lStr += "<span style='font-weight:bold;font:24px Arial' color='#fafbf9'>累计进行关卡</span>"; htmlStr += "<span style='font-weight:bold;font:48px Arial;valign:top' color='#84ED4A'>3</span>"; htmlStr += "<span style='font-weight:bold;font:24px Arial' color='#fafbf9'&g...

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

240. 如何获取HTMLDivElement对象的文本值 [ 87%]

...           div.innerHTML="<span href='http://ask.layabox.com/'>LayaBox欢迎你的加入!</span>";             var txt:String = "";             var tTxt:String;             var tHTMLElement:HTMLElement;             for(var i:int = 0,n:int = d...

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