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

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)

1291. 苹果审核被打回 [ 78%]

...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

1292. 微信小游戏截图 [ 78%]

... 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

1293. ide发布web后报错 [ 78%]

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

1294. 为什么全局属性赋值后,在另外个函数中调用会自动变成undefined [ 78%]

...    public var camera:Camera;                  public function MainPageController(){             super();             Laya.stage.scaleMode = Stage.SCALE_FULL;             Laya.stage.screenMode = Stage.SCREEN_NONE;              Scen...

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

1295. 关于下拉列表的选择触发 [ 78%]

...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

1296. Panel控件滑动区域不正常的问题 [ 78%]

...下方法 /** *设置容器的点击区域 */ __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

1297. 微信小游戏,请先初始化小游戏适配库 [ 78%]

...@ 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

1298. 没有预加载的图片怎么获取width和height ? [ 78%]

...前加载资源,在回调中进行操作设置 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

1299. laya.ui.VBox [ 78%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...

来源: Laya2.0_api 发布时间: 20190513

1300. 微信关系链:LayaAir引擎针对开发数据域使用图集支持介绍 [ 78%]

...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