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

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

1481. 关于get/set重写问题 [ 75%]

...方法呢static getset(isStatic:Boolean, target:any, name:String, getter:Function, setter:Function):void; 2020-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回...

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

1482. 小米登录失败 [ 75%]

小米登录失败 window["qg"].login({ success: function (res) { var data = JSON.stringify(res); console.log("OPPO登录:" + data); callBack(res); }, fail: function (res) { LogicManager.instance.toLoginSucc(); console.log("登陆失败:" + JSON.stringify(res)); } });  登陆失败:{"code":7605,...

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

1483. protobuf.js [ 75%]

...1 个回复 kezhiyu 赞同来自: 182*****278 小程序 不支持 eval 和 Function 这里是说,如果有需要eval 的地方,通常都可以通过把 要执行的字符串 直接写入js文件, 来达到调用的效果  比如 假设我有全局变量 ls, 我 eval('ls.g.x=1') 其实是...

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

1484. 关于定时器问题 [ 75%]

... 1 个回复 Laya_Aaron 赞同来自: 两个回调都是time吗? public function clear(caller:*, method:Function) 执行域和回调都一样,当然就清理了 2018-08-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回...

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

1485. ConchInput settype无效 [ 75%]

ConchInput settype无效 __getset(0,__proto,'type',function(){         return this._type;     },function(value){         console.info(value)         if (value=="password")             this._getCSSStyle().password=true;         else         thi...

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

1486. ts编译为js后 [ 75%]

ts编译为js后 var AudioCommand = (function(_super) { function AudioCommand() { AudioCommand.__super.call(this); } __class(AudioCommand, 'model.resource.audio.controller.AudioCommand', _super); 1.AudioCommand.__super.call(this); 2.__class(AudioCommand, 'model.resource.audio.controller.AudioComman...

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

1487. Dialog [ 75%]

...不想用close,主动销毁会剩下一个蒙层没有移除?是为什么? function Controller() {     Controller.super(this);      this.btn.on(Event.CLICK,this,function(){           this.destroy();     })  } Laya.class(Controller, "Controller", stUI); 2018-08-31 添加评论 ...

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

1488. 调试-帧率统计 [ 75%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Browser = Laya.Browser; var Stat = Laya.Stat; Laya.init(Browser.clientWidth, Browser.clientHeight); Stat.show(Browser.clientWidth - 120 >> 1, Browser.clientHeight - 100 >> 1); })();module laya { import Browse...

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

1489. laya.utils.PerfData [ 75%]

...public var scale:Number = 1.0Constructor DetailPerfData()Constructorpublic function PerfData(id:int, color:int, name:String, scale:Number) Parameters id:int color:int name:String scale:NumberMethod DetailaddData()method public function addData(v:Number):void Parameters v:NumberMon May 13 2019, 03...

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

1490. laya.filters.Filter [ 75%]

...lter 是滤镜基类。 Public Properties PropertyDefined By  _filter : Function[static] FilterPublic Methods  MethodDefined By  Filter() 创建一个 Filter 实例。 FilterProperty Detail_filterpropertypublic static var _filter:FunctionConstructor DetailFilter()Constructorpublic function Fil...

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