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

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

141. Laya下的图片上传示例(完整版) [ 51%]

...ha(opacity=0);opacity:0;width:200px;height:100px;background:url(b1.png) no-repeat center;cursor:pointer;"; file.type ="file";//设置类型是file类型。 file.size ="30"; file.accept="image/png/jpg";//设置文件的格式为png; file.style.position ="absolute"; // file.style.zIndex = 999; Laya....

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

142. 阴影太浓怎么变淡?看到说directlight.ambientColor,但这ambientColor属性没有 [ 51%]

... dialog的lock属性没出现 关于打包图集时的图片默认属性与repeat的区别 Laya IDE的帧属性面板打不开 只显示时间轴 如何能够clone一个node(包括node所有的子节点, 以及所有节点上的compnent,属性) 3D灯光阴影无效 2.6版本阴影在浏览器正...

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

143. layabox里as3-proto数组转出来有问题 [ 51%]

... } message GetRoomListResponse {     required uint32 code = 1;      repeated RoomList roomList = 2;  } 用以上协议生成后。 问题1:发消息,用这个官网的包,生成的数组上多出了一行奇怪的代码,必须要去掉才能运行。 [ArrayElementType("RoomList")] pu...

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

144. 嵌套类型的protobuf报错 [ 51%]

...inResult {  required int32 result = 1;  optional string authToken = 2;  repeated ServerInfo serverList = 3;  optional int32 platformErrorCode = 4;  optional string par1 = 5;  optional string par2 = 6;  optional string recommendedUId = 7; } message ServerInfo {  required int32 id = 1;  requi...

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

145. Tween循环动画 [ 50%]

...5 分享 微博 QZONE 微信 geniusgeng 赞同来自: 顶一下,Tween 的repeat times这类功能还是挺常用的,希望能直接增加到SDK里 2016-12-07 0 0 分享 微博 QZONE 微信 189*****192 赞同来自: 感觉循环动画 用递归有点,,,,,,,,,,,,,,,...

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

146. ios手机上的声音无法播放 [ 50%]

...开发者工具 用这个 Laya.SoundManager.playSound(path); API,总有 repeate loading xxx.ogg 的警告 yy308126214 • 2018-04-01 11:59 补充:安卓浏览器和微信都没有问题...ios微信版只有换成.mp3格式,在刚从后台返回的那一次可以播放音效,但之后仍然...

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

147. laya.d3.resource.Texture2D [ 50%]

...过滤器 BaseTexture mipmap : Boolean 是否使用mipLevel BaseTexture repeat : Boolean 是否使用重复模式纹理寻址 BaseTexture size : Size[read-only] 获取尺寸。 BaseTexture source : *[read-only] 获取纹理资源。 BaseTexture width : int[read-only] 获取宽度。 BaseTexture...

来源: laya_api 发布时间: 20170929

148. Resources Already Exits导致图片无法正常显示 [ 50%]

...个条件后,该图片资源就会报黄警告Resources already exist,is repeated loading:.../.../.../.png 并造成  image图片类型不显示,但 sprite图片显示。 解决方案: 将sprite或image类型的组件统一使用一种; 避免作为预制体使用 希望大家避免这个坑...

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

149. H5小游戏,IOS平台退到后台,长时间返回画面卡顿或者直接卡死! [ 50%]

...法的这段代码:                     if (handler.repeat){                         if (!handler.jumpFrame){                             handler.exeTime+=handler.delay;                             ...

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

150. laya.d3.resource.DataTexture2D [ 46%]

...过滤器 BaseTexture mipmap : Boolean 是否使用mipLevel BaseTexture repeat : Boolean 是否使用重复模式纹理寻址 BaseTexture  simLodInfo : Float32ArrayDataTexture2D  simLodRect : Uint32Array[static] DataTexture2D size : Size[read-only] 获取尺寸。 BaseTexture source : *[read...

来源: laya_api 发布时间: 20170929