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

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

1241. Vector3坐标问题 [ 73%]

...ctor3.ZERO 为什么会 有变化呢?这个坐标 不应该就是 一个 new Vector3(0,0,0)么? 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: 能否描述一下你所说...

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

1242. UI中创建的自定义Box怎么复制 [ 73%]

...好了一个BOX。想实例化同样的多个。不是获取。 let box= new Laya。Box() 只能向上面一样创建一个空的。然后再把所有子节点和信息 不能例如let b = new Laya.Box("example");  通过名字 或其他来创建么 2018-09-04 添加评论 免费帖 --> 分享 ...

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

1243. TiledMap销毁的问题,TiledMap销毁后屏幕变灰,不能显示 [ 73%]

...示,但是ui的按钮可以点击。 我的代码: var _map:TiledMap = new TiledMap(); var viewRect:Rectangle = new Rectangle(0,0,8600,1800); _map.createMap("res/race.json",viewRect);我的游戏销毁的代码 _map.destroy(); _map = null; Laya.stage.addChild(new Plazz());//ui 经过排查后发...

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

1244. 位图切片组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 72%]

...制Clip: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Clip }) public clip: Laya.Clip; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.clip.pos(Laya.s...

来源: Laya3.0_文档 发布时间: 20251010

1245. 第一个程序HelloLayabox [ 72%]

...要回复问题请先登录 发起人 188*****438 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问在layaIDE里,怎么调用微信小程序API 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请...

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

1246. laya.utils.Tween [ 72%]

...100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。  duration:int — 花费的时间,单位毫秒。  ease:Function (default = null) — 缓动类型,默认为匀速运动。  complete:Handler (default = null) — 结束回调函数。 ...

来源: laya_api 发布时间: 20170929

1247. animation动画对象 无法增加鼠标事件 [ 72%]

...就能正常 。 部分代码如下,动画能正常播放。 this.role = new Laya.Animation(); this.role.on(Laya.Event.MOUSE_DOWN, this, this.onDrag); 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 La...

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

1248. 请教个问题:Laya.Dialog的lock方法异常 [ 72%]

请教个问题:Laya.Dialog的lock方法异常 代码: var dialog = new Laya.Dialog(); dialog.lock(); 没有找到对应的lock方法,但是在api文档里面却有这个,求解? 附件 : --> 2018-07-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

1249. 父容器为何不响应鼠标事件 [ 72%]

...父容器为何不响应鼠标事件 源码如下: let son:Laya.Sprite = new Laya.Sprite() let father:Laya.Sprite = new Laya.Sprite() son.loadImage("res/me.png",0,0,30,30) father.addChild(son)              Laya.stage.addChild(father) father.x = 100; father.y = 100; father.on(Laya.Event...

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

1250. Warning!,this class[MiniAdpter] already exist: Object {} [ 72%]

...it: } 升级Laya2.2.0报Class constructor Scene cannot be invoked without 'new'解决办法 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' ClassUtils.getClass获取不到Class Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent 问题状态 最...

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