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

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

31. 本地双击html如何打开laya项目? [ 54%]

... install(Context context, String filePath) { Intent i = new Intent(Intent. ACTION_VIEW); File file = new File(filePath); if (file != null && file.length() > 0 && file.exists() && file.isFile()) { i.setDataAndType(Uri.parse("file://" + filePath), "application/vnd.android.pa...

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

32. Laya下怎么实现复制 [ 53%]

...; <div>hello world</div> <button class="btn" data-clipboard-action="copy" data-clipboard-target="div">Copy</button>  <!-- 2. Include library --> <script src="../src/Frame/ThirdLibs/clipboard.min.js"></script>  <!-- 3. Instantiate clipboard --> <sc...

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

33. LAYABOX游戏实时语音之APP版本 [ 52%]

...ientation" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> <receiver android:name="com.youme.im.NetworkStatusReceiver" ...

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

34. Laya.Browser获取宽高数值会变化,iphone6第一次加载正确,刷新几次就变大了。 [ 51%]

...可以。 debug 看到方法里面new出来的类型好像是 GlowFilterActionGL, 公用的private那个却是GlowFilter还是什么,记不清楚了,直接报错,说没有_action.apply3d方法。怎么两个地方new Laya.GlowFilter的类型不一样呢?   2017-04-03 添加评论 免费...

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

35. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 51%]

...直观一点: private const stand:String = "STAND"; private function loadActionsComplete():void {     //创建动画模板dizziness      //Animation.createFrames(aniUrls("zy/" + stand + "000", 5), stand + "000");//这么写也不对      Animation.createFrames(aniUrls(stand + "000", 5), ...

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

36. 图片像素精准点击问题! [ 51%]

... '0000') return false; return true; } if (hitTest(target)) { // do hitTest action; }   通过检测像素点颜色值来判断点击区域,这里不能用 on(Laya.Event.CLICK,只能通过 on(Laya.Event.MOUSE_DOWN 来检测。   下面是我的代码处理: class demo { private down:Laya.Imag...

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

37. Dialog 第一次打开总是出现在窗口右下角,这是为啥,再打开就正常剧中了? [ 50%]

... }], "animations":[ { "nodes":[ ], "name":"ani1", "id":1, "frameRate":24, "action":0 }] } 附件 : --> 2020-04-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 8 个回复 180*****858 赞同来自: 请问谁知道这是什...

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

38. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 49%]

...ey":"drawCallOptimize","index":0}]}}],"name":"ani1","id":1,"frameRate":24,"action":0}],"loadList":["ani/p1.png"],"loadList3D":[]}; REG("ui.kick_effectUI",kick_effectUI);把EffectAnimation改成Laya.EffectAnimation 后又报错   2021-01-12 0 1 分享 微博 QZONE 微信 孙全 赞同来自: 附件...

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

39. 使用滤镜报错 [ 48%]

...lters = null;     v.mouseEnabled = true; } 报错日志: TypeError: f.action.setValue is not a function at TextureSV.__proto.setFilters (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:22308:15) at TextureSV.__proto.setValue (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin...

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

40. TypeScript在LayaAir 1.X和2.X中对待module和namespace的异同,求2.x使用自定义namespace的方法(module已经找到方法) [ 48%]

...何互相引用module, namespace都不完善,内部开发人员应该是action script技术人员占绝对主导地位的,typescript/javascript应该是边缘角色,所以不重视typescript的文档,说不上话。 我探索了好久,发现2.x的typescript分文件组织代码的方法,...

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