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

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

341. SpineSkeleton.source置空报错 [ 67%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function module写法的模块无法使用,其他地方使用会报错 问题状态 最新活动: 2023-06-07 16:23 浏览: 2843 关注: 2 人

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

342. laya.resource.Prefab_API3.0 [ 67%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

343. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 67%]

...     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640,WebGL);              var image:Image = new Image();             image.skin = "res/atlas/cl...

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

344. 隐藏默认的虚拟键、屏蔽APP窗口弹出脚本错误信息 的问题 [ 67%]

...藏默认的虚拟键、屏蔽APP窗口弹出脚本错误信息 的问题 (function () { (() => { //初始化屏幕 宽高 使用WebGL渲染 Laya.init(640,960,Laya.WebGL); //屏幕缩放模式 stage 舞台 Laya.stage.scaleMode= Laya.Stage.SCALE_NOSCALE ; //水平对齐方式 Laya.stage.alignH = L...

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

345. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 67%]

...用IDE制作的动画在pc模拟器播放OK在手机端不显示 loaded : function(){ this.loader = Laya.loader; this.loader.retryNum = 0;//无加载重试 this.urls = ['imgdebris/imgdebris.atlas','imgdebris/p1_slj.png',]; // this.loader.load(this.urls[0], Laya.Handler.create(this, this.onAssetloade...

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

346. layaAir支持xml加载和使用吗 [ 67%]

... laya.net.Loader; import laya.utils.Handler; public class XmlDemo { public function XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded():void { // TODO Auto Generated method stub var xml:XmlDemo=Laya.loader.getRes("...

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

347. laya.d3.animation.AnimationClip_API3.0 [ 67%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

348. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 67%]

...均可以设置一个回调 Laya.LoaderManager.prototype["_loadAssets"] = function (arr, complete, progress, type, priority, cache, group) { (priority === void 0) && (priority = 1); (cache === void 0) && (cache = true); var itemCount = arr.length; var loadedCount = 0; var totalSize =...

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

349. 关于使用chrome进行性能检测的一个问题 [ 67%]

... 使用chrome进行性能测试时看到这样的图表,想问一下在function call之间的空白是代表idle吗?是什么原因引起的,是否有方法尽量缩减每帧当中的空白部分让每帧的总耗时尽可能小? 附件 : --> 2018-06-26 添加评论 免费帖 --> 分享 微...

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

350. Cannot read property 'call' of undefined [ 67%]

...细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19)    at HomePa...

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