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

大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)

161. layaair2.0默认字体设置无效 [ 88%]

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

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

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

...• 2018-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

163. ts加密md5码封装 [ 88%]

...ing") { if (typeof target === "string") target = target.split(""); let result: any[] = target.map( (_, index: number) => index % step === 0 ? Array.from(Array(step).keys()).map((x: number) => target[index + x]) : [] ) .filter((x: any[]) => x.length > 0); if (markString) result = result.m...

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

164. [unity动画导出] unity导出3d动画报错 [ 88%]

...tem.Collections.Generic.Dictionary`2[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 ...

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

165. laya.d3.core.scene.bvh.BVHSpatial_API3.0 [ 88%]

...a/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Defined in laya/d3/core/scene/bvh...

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

166. 富文本排版问题 [ 88%]

...ment = new Laya.HTMLDivElement(); let htmlStr:string = "";   htmlStr += "<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 += "&l...

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

167. Laya打包微信小游戏的时候,引入的外部js访问不到 [ 88%]

...译之后的bin文件夹下的index.html文件增加了js引用,如下<!--导入math.js包--> <script type="text/javascript" src='math.min.js'></script> <!--导入自定义计算工具包--> <script type="text/javascript" src='math.self.js'></script> 打包之...

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

168. 局部坐标转全局坐标结果与预期相差甚远 [ 88%]

...结果与预期相差甚远 在某个地方使用var pos:Point = img.localToGlobal(new Point(img.width/2, img.height/2));转换坐标 结果是完全正确的。但最近又有地方需要用到 于是写了trace(soil_1.localToGlobal(new Point(soil_1.width/2, soil_1.height/2)));结果与预期相差...

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

169. laya打包vivo小游戏问题 [ 87%]

... 1 个回复 kylin 赞同来自: 1) vivo类库要放到webgl.js之后 ``` <!--封装了webgl渲染管线,如果使用webgl渲染,可以在初始化时调用Laya.init(1000,800,laya.webgl.WebGL);-->     <script type="text/javascript" src="libs/laya.webgl.js"></script> <!--...

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

170. as3.0语言下2dmatter.js物理引擎的配置 [ 87%]

...s   2018-07-16 0 2 分享 微博 QZONE 微信 131*****809 赞同来自: <script scr='matter.js' loader='laya'></script> <script scr = 'LayaRender.js' loader='laya'></script> <script src='LayaSample.max.js' loader='laya'></script>引用了呀 2018-07-16 0 1 分...

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