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

大约有 283 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0037 秒)

131. 请问laya有没有类似翻页容器(pageView)的组件? [ 65%]

...te m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler =...

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

132. 多次加载一个页面出现_$P为null的情况 [ 65%]

...为null的情况。 function OnlinePlaySence(data) {     OnlinePlaySence.super(this); } Laya.class(OnlinePlaySence, "OnlinePlaySence", BasePlaySenceUI);   附件 : --> 2017-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

133. 一个场景中加两个线形碰撞体出错 [ 65%]

...is.label = (this.label || "ChainCollider");             return super.getDef();         }   改成这样既可 2018-11-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 188*****406 相关问...

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

134. 关于实例化 动画特效.efc 文件的问题 [ 65%]

...时候报错: 具体是layaUI.max.all.js里的这一行:effect01UI.__super.call(this); TypeError: Cannot read property 'call' of undefined   请问我应该怎么实例化 effectAnimation.efc 这种模板?   2018-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

135. 3d中 在update里对局部坐标赋值,当父物体运动起来就会有问题 [ 65%]

...起来就会有问题 public _lateUpdate(state: Laya.RenderState): void { super._lateUpdate(state); this.gun.transform.localPosition=this.pos; } 2017-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 183*****75...

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

136. ape.pivot(55, 72);啥意思呀 [ 65%]

...stance.start(5, 500);这里面的5和500什么意思? layabox js中 的__super,call()是什么意思 这个写法是什么意思,能否解释一下,谢谢 camera的orthographicVerticalSize属性是什么意思? 文档上写的太简洁了! 控制台显示node --debug-brk=27489 --nolazy Deb...

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

137. 动画状态脚本(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 65%]

...AnimatorStateScriptTest extends Laya.AnimatorStateScript { constructor() { super(); this._text = null; } get text() { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画...

来源: Laya2.0_文档 发布时间: 20210715

138. 版本管理swf找同名的Json文件发现找不到 [ 65%]

...nds Laya.MovieClip{         constructor(){             super();         }         //初始化预加载数据         public m_initData(url:string,atlas:boolean,atlasPath?:string){             (atlas===void 0)&& (atlas=false);      ...

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

139. 动画状态脚本(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 65%]

...xtends Laya.AnimatorStateScript { private _text:Laya.Text; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画状态:...

来源: Laya2.0_文档 发布时间: 20210715

140. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 65%]

...ic are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are.width, this.are.height, "#00ff00"); _fish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, fun...

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