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

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

21. When asking questions, remember these two tips: [ 79%]

...k how to implement a particular solution, instead describe the problem at hand. Stating the problem gives more context and less bias for a correct answer. In case things are not working as expected, please include as much information as you can in your report, for example: your LayaBox version, the ...

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

22. Maximum call stack size exceeded [ 79%]

... asBitmap no size! 微信真机下游戏MAX_TEXTURE_SIZE FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory Cannot read property 'call' of undefined 请教下 是 layabox 正交 相机...

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

23. 文本-位图字体 [ 79%]

...Stage = Laya.Stage; var Text = Laya.Text; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var fontName = "diyFont"; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MID...

来源: Laya_示例 发布时间: 20241001

24. INSTALL_FAILED_NO_MATCHING_ABIS [ 79%]

...与内容相关的链接 提交 1 个回复 kukucck 赞同来自: 用的是AndroidStudio 2017-02-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 kukucck 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND httprequest ios手...

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

25. 文本-位图字体 [ 78%]

...628"; this.loadFont(); } loadFont() { const BitmapFont = Laya.BitmapFont, Handler = Laya.Handler; this.bitmapFont = new BitmapFont(); this.bitmapFont.loadFont("res/bitmapFont/test.fnt", new Handler(this, this.onFontLoaded, [this.bitmapFont])); } onFontLoaded() { // 设置空格的宽 this.bitmapFont...

来源: Laya2.0_示例 发布时间: 20241001

26. Failed to construct 'AudioContext' [ 78%]

...试时http请求错误,返回Request failed Status:0 FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory LayaAirIDE构建的iOS包加入网易七鱼后崩溃,报错信息curl_easy_pe...

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

27. 网络和格式-ProtocolBuffer [ 78%]

...(function() { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var ProtoBuf = Browser.window.protobuf; Laya.init(550, 400); ProtoBuf.load("../../res/protobuf/awesome.proto", onAssetsLoaded); function onAssetsLoaded(err, root) { if (err) throw err; // Obtain a message...

来源: Laya_示例 发布时间: 20241001

28. 网络和格式-ProtocolBuffer [ 78%]

...(function() { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var ProtoBuf = Browser.window.protobuf; Laya.init(550, 400); ProtoBuf.load("res/protobuf/awesome.proto", onAssetsLoaded); function onAssetsLoaded(err, root) { if (err) throw err; // Obtain a message type ...

来源: Laya2.0_示例 发布时间: 20241001

29. 请问在objectC中如何调用js [ 76%]

...dd.callWithBack(function(n){alert("2+3="+n);},"operatorWith:and:",2,3); chen541788 • 2018-01-18 10:16 然后objectC才能回调 [[conchRuntime GetIOSConchRuntime] callbackToJSWithObject:self methodName:@"operatorWith:and:" ret:[NSNumber numberWithInt:result]]; chen541...

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

30. laya.device.motion.RotationInfo [ 76%]

...见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 RotationInfo  alpha : Number Z轴旋转角度,其值范围从0至360。 ...

来源: laya_api 发布时间: 20170929