大约有 59 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0037 秒)
... btCollisionObject undefined 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-02-20 16:50 浏览: 3718 关注: 10 人 Ex木 • 2019-02-24 20:32 我也遇到相同的问题了,试了好几种方法都不行,我暂时挂起吧 cwugs • 2019-03-19 14:17 这...
来源: Laya_社区 发布时间: 20181011
...动回收到对象池。 * @return 返回Tween对象。 */ public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween { return Pool.getItemByClass("tween", Tween)._create...
来源: Laya_社区 发布时间: 20180109
...因为在实际使用的时候还是会下载 * 'unknownError' * @param {function(localfile:string):void} onEnd 更新完成的回调 */ window['updateByZip'] =function(url, onEvent, onEnd){ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substr(url.lastIndexOf('/')); /** * 下...
来源: Laya_社区 发布时间: 20180108
...后的laya.core.js,先定位到21176行window.addEventListener("resize",function(){ setTimeout(function(){ var orientation=Browser.window.orientation; if (orientation !=null && orientation !=_$this._previousOrientation && _me._isInputting()){ Input["inputElement"].target.focus=fals...
来源: Laya_社区 发布时间: 20190515
...from "../script/base/BaseScene"; import BaseScene=base.BaseScene; var REG: Function = Laya.ClassUtils.regClass; export module ui { export class CustomSceneUI extends BaseScene { public txt_hello:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("Custo...
来源: Laya_社区 发布时间: 20200827
...res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }...
来源: Laya3.0_文档 发布时间: 20230303
...Array的zlib.min.js后报错 导微信小程序报错window.focus is not a function IDE通过.ui自动生成的ui代码报错 本地调试加载本地图片都报错 小游戏项目 加载有中文的json文件 报错 官网示例摇一摇报错,就解决方案 启动引擎报错 mPlugin.game_plug...
来源: Laya_社区 发布时间: 20190812
..._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene,this);} 3、对想要开启灯光裁剪的场景调用 LightCullingMask.enableLightCullingMask(scene3d)即可 //注意 ExtCullingMask并不是针对对象进行,而是对摄相...
来源: Laya_社区 发布时间: 20200110
... image.src = "res/atlas/pixel.png"; image.onload = function() { // 界面上按钮所在的位置以及按钮的宽高 drawImage(image, 462, 194, 156, 48, 0); // 调用绘图以及 挖洞 } ...
来源: Laya_社区 发布时间: 20200604
...@cuixueying 感谢你上面做的回答 现在遇到以下的问题 public function drawImage(target:Sprite,srcbmd:Image, mx:Matrix, p1:Point, p2:Point, p3:Point, p4:Point):void { var texture:Texture = Laya.loader.getRes(srcbmd.skin); target.gr...
来源: Laya_社区 发布时间: 20160627