大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...的不是create? Laya_Aaron • 2018-07-26 11:27 Laya.loader.create(url, null, null, Sprite3D); 188*****949 • 2018-07-26 11:28 好,我试试 188*****949 • 2018-07-26 11:30 对了,我曾经这样试过,还是加载失败了。 Laya.loader.create(urls, Laya.Handler.create(this, onComplete,...
来源: Laya_社区 发布时间: 20180725
...用,不允许缩放。*/ public static var timer:Timer = null; /** 表现时间管理器,可以用来控制渲染表现,可以通过scale缩放,来表现慢镜头*/ public static var scaleTimer:Timer = null; 试一下scaletimer吧, timer...
来源: Laya_社区 发布时间: 20180211
...uot;res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded ), null, Laya.Loader.ATLAS) } onLoaded(){ Laya.stage.addChild(new TopUI()) Laya.stage.addChild(new TabUI()) this.getGold.on(Laya.Event.MOUSE_DOWN,this,function(){ console.log("点击事件") }) // console.log(this.getG...
来源: Laya_社区 发布时间: 20171213
...i=0,len=aniList.length; --------源码--------- 报错: aniList.length为null "Cannot read property 'length' of null" 2018-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Kelvin 赞同来自: 已经解决 ...
来源: Laya_社区 发布时间: 20180719
...tem extends Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__sup...
来源: Laya3.0_api 发布时间: 20231115
...不行也不行→Laya.loader.load(path, Handler.create(this, onLoaded), null, Loader.XML, 1, false, null, true); cache和ignoreCache这两个参数有什么作用?要怎样设置能重新加载? 版本1.6.2 2017-03-25 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 你是想对加载...
来源: Laya_社区 发布时间: 20170325
... 创建一个 MeshSprite3D 实例。 Parameters Default value mesh: Mesh = null 网格,同时会加载网格所用默认材质。 Default value name: string = null 名字。 Returns SkinnedMeshSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/N...
来源: Laya3.0_api 发布时间: 20231115
....5,0.5);2、将dialog的缓动动画去掉1 2 3 Dialog.manager.popupEffect=null; Dialog.manager.closeEffect=null; dialog.scale(0.5,0.5); 2017-11-14 0 0 分享 微博 QZONE 微信 wudi199553 赞同来自: 好的 2017-11-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问...
来源: Laya_社区 发布时间: 20171114
...s.imgItem.graphics.clear(); this.imgItem.removeSelf(); this.imgItem.skin = null; this._sprFight.graphics.clear(); this._sprFight.removeSelf(); this._sprFight = null; } 像这样写 dispose(),后, imgItem 的skin ( 'forging/000' + (type + 1) + '.png') 会不会自动从内存释...
来源: Laya_社区 发布时间: 20170916
...ector2):void 设置二维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指...
来源: laya_api 发布时间: 20170929