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

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

51. 对象监听另外一个脚本的执行方法不被执行 [ 79%]

...错 Explain.ts:11 TypeError: Cannot read property 'AllTitleButtonClick' of undefined Explain.ts:31 at Explain.onAwake (file:///E:/NewLayaProfesson/Edbox_FruitSlickSecond/Edbox_FruitSlickSecond/bin/js/bundle.js:40:128) 这种情况怎么操作的 2019-04-10 添加评论 免费帖 --> 分享 微博 QZ...

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

52. LayaFlash针对资源的加载是同步还是异步? [ 78%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 请问下加载TFF字体要怎么加载呢? 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 微信小游戏与加载图片时不会触发erroe事件 laya怎么跨域加载图片 ...

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

53. matter中有没有类似于unity中的OnCollision碰撞检测函数呀,用js怎么写 [ 78%]

...加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题状态 最新活动: 2018-06-01 16:42 浏览: 1345 关注: 3 人 (^_^) • 2018-06-01 16:45 那一般你做2d的碰撞是怎么做的呢,比如一个2D的跑酷游戏,角色与陷阱的碰撞检测,角色吃到...

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

54. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 78%]

...nManager.ts:10 Accessors currentFrameRate get currentFrameRate(): number | undefined Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:232 The current frame rate as reported by the device Returns number | undefined referenceSpace get referenceSpace(): any set referenceSpace(newReferenceSpace: any...

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

55. dialog.removeSelf is not a function [ 78%]

...nt.createTextNode is not a function api readFile success callback function undefined 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is not a function api readFile success callback function undefined 打地鼠发布...

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

56. ProgressBar 代码问题 [ 78%]

...ar  使用会出现<<<TypeError: Cannot read property 'value' of undefined>>> 我的代码为按钮点击后 出现popup并且模拟进度条加载 按钮代码: this.testLoadingBar_anim.on(Event.CLICK,this,()=>{     var loading : Onloading = new Onloading();     loading.po...

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

57. 如何获取实时更新的动态数据,数据在文本中 [ 78%]

...ull, Laya.Loader.TEXT,0,false,null,true); 读取值的时候,显示的是undefined 2017-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 如果你的文件数据是加载后就能获取...

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

58. 网络通信 · LayaAir3.0文档 · LAYABOX [ 77%]

...if omitted. * @param {LoadCallback} callback Callback function * @returns {undefined} * @see {@link Root#load} */ function load(filename, root, callback) { if (typeof root === "function") { callback = root; root = new protobuf.Root(); } else if (!root) root = new protobuf.Root(); return root.load(fi...

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

59. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 77%]

...标位于0,0 var temptexture=Loader.getRes(pic); if (typeof(temptexture)!="undefined"){ this.bgimg.texture=Loader.getRes(pic) }else{ this.bgimg.loadImage(pic); } this.donghua=true; this.bgimg.x=x; this.bgimg.y=y; this.bgimg.mvtox=movetox; this.bgimg.mvtoy=movetoy; this.bgimg.speedx=speedx; this.bgim...

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

60. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 77%]

...,apk中无效   4.MouseManager.as 运行 时报错,“ touchemoves is undefined”                case "touchmove":                      var touchemoves:Array = evt.targetTouches;                     if(!touchemoves)break;                    ...

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