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

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

741. laya.d3.physics.ContactPoint_API3.0 [ 72%]

... Returns ContactPoint Properties colliderA colliderA: PhysicsComponent = null Defined in laya/d3/physics/ContactPoint.ts:15 碰撞器A。 colliderB colliderB: PhysicsComponent = null Defined in laya/d3/physics/ContactPoint.ts:17 碰撞器B。 distance distance: number = 0 Defined in laya/d3/physics/...

来源: Laya3.0_api 发布时间: 20231115

742. LayaAir1.7.19.1 Beta预加载资源出问题 [ 72%]

...的不是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

743. 关于 Laya.timer.scale = 0 暂停的问题 [ 72%]

...用,不允许缩放。*/         public static var timer:Timer = null;         /** 表现时间管理器,可以用来控制渲染表现,可以通过scale缩放,来表现慢镜头*/         public static var scaleTimer:Timer = null;   试一下scaletimer吧, timer...

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

744. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 72%]

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

745. laya.ui.List_API3.0 [ 72%]

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

746. TS2D基础篇-图集动画运用 问题 [ 72%]

...i=0,len=aniList.length; --------源码--------- 报错: aniList.length为null "Cannot read property 'length' of null" 2018-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Kelvin 赞同来自: 已经解决 ...

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

747. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 72%]

... 创建一个 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

748. 加载成功要怎样判断呢? [ 72%]

...不行也不行→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

749. 如何控制dialog只在指定区域弹出 [ 72%]

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

750. skin 大于512 的释放问题 [ 72%]

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