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

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

271. AS3 怎么调用微信JS的api [ 73%]

...S3 怎么调用微信JS的api AS3 怎么调用微信JS的api 比如JS的wx.login({                 success(res) {                     console.log(res); .. 用AS3要怎么写   已解决__JS__('wx.login({success (res) {console.log(res) }})'); 2019-09-19 添加评论 免费帖 --> ...

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

272. laya无法解析部分属性 [ 73%]

...-22 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 你的 console.log(guanbimyxd+2);         console.log(uppage+2);写错了吧 应该是让组件的某个属性值去加上另外一个值,而并非组件本身吧! 2017-02-22 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

273. 打包qq小游戏音频播放问题 [ 73%]

...钟之内的每一帧获取到的播放位置是一样的。 Android 获取LOG信息:   IOS 获取LOG信息:   附件 : --> 2020-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个...

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

274. 打包APP闪退 报下面这些信息 完整日志 [ 73%]

...ces 能列出设备来 3.出错后,立即在命令行 输入 adb shell logcat >err.log  4. 等一秒钟 ctrl+c 结束 5.把生成的 err.log 发过来   2017-10-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 18336093936 ...

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

275. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 73%]

...t a function this.imageBg = this.owner.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let iRows = 1; iRows < this.intRows; iRows++) { let iNum = Math.round(Math.random()...

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

276. 微信工具Js的Function问题 [ 73%]

...on(args[0], args[1], args[2]); var t = Function.apply(null, args); console.log( f(1,3) ); console.log( t(1,3) ); 这两个函数在Layabox开发时的目的都是生成一个不确定参数的函数,但导出到微信时Function会调用到其它函数中,请问怎么解决:   附件 : --> 20...

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

277. sound manager在MOUSE_OVER事件中无法播放 [ 73%]

...private onPlayMusic(e: Event): void {             console.log("播放音乐");             SoundManager.playMusic("../../res/sounds/bgm.mp3", 1, new Handler(this, this.onComplete));         }          private onPlaySound(e: Event): void {     ...

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

278. 当使用代码创建打开场景时,onOpened触发了,但场景active和activeInHierarchy还是处于false,请问纯代码怎么实现场景创建激活,谢谢 [ 73%]

...?   const scene = new Laya.Scene(); scene.onOpened = () => { console.log('scene onOpened'); }; scene.open(); console.log('scene', scene.active, scene.activeInHierarchy); Laya.timer.frameOnce(10, this, () => {   console.log('scene 2', scene.active, scene.activeInHierarchy); });   日志:...

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

279. 淘宝创意互动发布指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 73%]

... 和 b.js ```javascript //a.js 中的内容: var a = function(){ console.log("a") } //b.js 中的内容: var b = function(){ console.log("b") } ``` 然后我们引用 js,调用2个方法,在 H5 上是可以正常输出内容的。 ```javascript require("a.js") require("b.js") a(); //a b(); /...

来源: Laya2.0_文档 发布时间: 20210714

280. 获取的ui页面里下on事件无法触发 [ 73%]

...iew.super(this); this.Start.on(Laya.Event.CLICK, this, this.open); console.log(this.Start); GameStartView.prototype.open = function(){ console.log("Open is ok"); } }; Laya.class(GameStartView,"GameStartView", GameStartUI); 输出:Button {toggle: false, _bitmap: AutoBitmap, _text: Text, _strokeColo...

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