大约有 397 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0043 秒)
... Laya.class(GradientText, "effect.GradientText", _super); let _proto = GradientText.prototype; _proto.init = function () { switch (this.style) { case style.VERTICAL: gradientStyle = VERTICAL_GRADIENT + '&...
来源: Laya_社区 发布时间: 20180824
...; node.destroyChildren(); } 以上两种写法都会报错 at Scene3D.__proto._update (file:///D:/minigame/throwball/bin/libs/laya.d3.js:34104:15) at Stage.__proto.render (file:///D:/minigame/throwball/bin/libs/laya.core.js:31069:23) at Stage.__proto._loop (file:///D:/minigame/throwball/bin...
来源: Laya_社区 发布时间: 20191119
在layabox里protobuf只能用回调的方式处理吗? 我有个白鹭引擎的项目,想把里面封装的网络层移植到layabox项目里,白鹭里加载我使用的是: import ProtoBuf = dcodeIO.ProtoBuf; this._protoBuilderMap ={user:ProtoBuf.loadProto(RES.getRes('user_proto'))}; 然...
来源: Laya_社区 发布时间: 20171103
...帧标签名称。注意:如果为空,则删除所有帧标签! */ __proto.removeLabel=function(label){ if (!label)this._labels=null; else if (this._labels){ for (var name in this._labels){ this._removeLabelFromList(this._labels[name],label); if(this._labels[name].length == 0){ delete this._la...
来源: Laya_社区 发布时间: 20181105
...关的链接 提交 3 个回复 lvfy 赞同来自: 已经解决: obj["__proto__"].constructor.name。同上述类取名一样,取出来的为当前类的类型。 或者obj.__proto__.constructor.name,但此用法编译报错,实际运行可行。 2017-10-19 0 0 分享 微博 QZONE 微信 lvf...
来源: Laya_社区 发布时间: 20171019
... (file:///K:/laya/mylaya11/bin/js/Btn1.js:21:20) // at EventHandler.__proto.runWith (file:///K:/laya/mylaya11/bin/libs/laya.core.js:711:59) // at Button.__proto.event (file:///K:/laya/mylaya11/bin/libs/laya.core.js:488:30) // at TouchManager.__proto.sendEvents (file:///K:/laya/mylaya1...
来源: Laya_社区 发布时间: 20180210
...is && this.__extends || function() { var extendStatics = Object.setPrototypeOf || { __proto__: [] }instanceof Array && function(d, b) { d.__proto__ = b } || function(d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p] } ; return function(d, b) { extendStatics(d, b); functio...
来源: Laya_社区 发布时间: 20171212
...btCollisionObject' of undefined bundle.js:64076 at PhysicsCollider.__proto._onAdded (file:///D:/fish_project/laya-air/myLaya1/bin/js/bundle.js:64076:30) at Sprite3D.__proto._addComponentInstance (file:///D:/fish_project/laya-air/myLaya1/bin/js/bundle.js:40023:8) at Sprite3D.__proto...
来源: Laya_社区 发布时间: 20181115
apk打包问题 项目 bin/res/文件夹下面放了 .proto文件,在IDE下面调试 是没有任何问题的。 在菜单-二维码的右上角 浏览器打开,报错404,找不到proto文件。用LAYABOX在手机上输入二维码地址进入也报同样的错。 构建APP后,用android_st...
来源: Laya_社区 发布时间: 20180314
...rite Laya.class(RunGame,"RunGame", laya.display.Sprite); //定义RunGame的prototype var _proto = RunGame.prototype; //初始化 _proto.init = function(){ console.log('RunGame Init'); } })(); 此处我们要说一下 Laya.class(RunGame,"RunGame", laya.display.Sprite); 这是JS特有的继承写法...
来源: Laya_社区 发布时间: 20160722