大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...vered that your app contains hidden features. Attempting to hide features, functionality or content in your app is considered egregious behavior and can lead to removal from the Apple Developer Program. Specifically, your app contains functionality to load a webview of external content within the ap...
来源: Laya_社区 发布时间: 20190730
... y: 0, width: 1280, height: 720, destWidth: 1280, destHeight: 720, success:function(res:Object):void{ imagePath = res.tempFilePath;//这个就是截屏的图片地址,可以将图片生成到相册,也可以使用这个地址用来里显示 wx.saveImageToPhotosAlbum({ filePath:imagePath, success...
来源: Laya_社区 发布时间: 20190515
ide发布web后报错 Uncaught TypeError: this.preinitialize is not a function at i (laya.ui.min.js:1) at i (laya.ui.min.js:1) at i (laya.ui.min.js:1) at GameUI (layaUI.max.all.js:9) at Function.<anonymous> (laya.core.min.js:1) at t (main.min.js:4) at...
来源: Laya_社区 发布时间: 20171205
... public var camera:Camera; public function MainPageController(){ super(); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Scen...
来源: Laya_社区 发布时间: 20190328
...small); this.big_map.selectHandler = new Laya.Handler(this, onSelect_big); function onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map.selectedLabel Laya.map_small_c = e } function onSelect_big(e) { if (e != 0) { if (Laya.keys > 0...
来源: Laya_社区 发布时间: 20180719
...下方法 /** *设置容器的点击区域 */ __proto.setContentHitArea = function () { var content=this._content; var rect = new Laya.Sprite(); rect.graphics.drawRect(0, 0, this.contentWidth, this.contentHeight, "#000000"); content.hitArea = new Laya.HitArea(); content.hitArea.hit = rect.graphics; ...
来源: Laya_社区 发布时间: 20170610
...@ gamePage.html:156 WAGame.js:3 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function at Function.Browser.__init__ (http://127.0.0.1:51176/game/code.js:7140:21) at Function._$GET_clientWidth (http://127.0.0.1:51176/game/code.js:7057:11) at ht...
来源: Laya_社区 发布时间: 20180510
...前加载资源,在回调中进行操作设置 text_load_width_height(); function text_load_width_height() { Laya.init(600,400); Laya.loader.load(["../laya/assets/comp/image.png","../laya/assets/comp/vscroll.png"],Laya.Handler.create(this,onAssetLoad)); } function onAssetL...
来源: Laya_社区 发布时间: 20170118
...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...
来源: Laya2.0_api 发布时间: 20190513
...ESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听**/ public function init():void { //接收主域透传的数据 if(MiniAdpter.isZiYu &&am...
来源: Laya_社区 发布时间: 20180525