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

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

141. IDE时间轴动画帧数乱序导致的bug [ 65%]

...导致的bug class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimation._sortIndexFun === null) { FrameAnimation._sortIndexFun = MathUtil.sortByKey("index", false, true); } }   FrameAnimation初始化时_sortIndexFun 方法没有被赋值   导致_calculateKeyFrames...

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

142. 带吗里三个等号是啥意思 [ 64%]

...5和500什么意思? ape.pivot(55, 72);啥意思呀 layabox js中 的__super,call()是什么意思 请问这个报错是什么意思 怎样把一个精灵从父节点完全删除 就是读取不到这个精灵的意思 otherBody [首次设置有效]关节的连接刚体。首次设置有效是什...

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

143. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 64%]

...sionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.BoxCollider = this._boll1.addComponent(laya.physics.Bo...

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

144. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 64%]

... = 'res/tiled/map.json';  /**地图 */ map: Laya.TiledMap; constructor(){ super(); Laya.loader.create(this.MAP_URL, new Laya.Handler(this, this.onComplete)) }  private onComplete(){ this.map = new Laya.TiledMap(); this.map.createMap(this.MAP_URL, new Laya.Rectangle(0,0,Laya.stage.width, Laya.stage...

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

145. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 64%]

...: var Test = (function(_surper){    function Test(){         Test.super(this);     };     Laya.class(Test, "Test", _surper);     return Test;      })(ui.TestUI);     报错Uncaught TypeError: Cannot read property 'call' of undefined     at Function.<anonymous> (laya.core.j...

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

146. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 64%]

... class ShopTitle extends Laya.Script{ public title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); sprite3DMat.cull = Laya.BaseMaterial.CULL_NO...

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

147. 如何调用父类get、set方法? [ 64%]

...的链接 提交 4 个回复 ymsdandan 赞同来自: 你试下LoginView.__super.call(this)   ,   注意,是2个下划线 2017-11-08 0 3 分享 微博 QZONE 微信 caochangli 赞同来自: 官方没人回复下吗? 2017-11-08 0 0 分享 微博 QZONE 微信 ymsdandan 赞同来自: 你把这个...

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

148. 解析sk资源报错 [ 64%]

...     public function CombatRole()         {             super();             initView();         }                  private function initView():void         {             _templet = new Templet();             _templet.on(Event.COM...

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

149. Shake.instance.start(5, 500);这里面的5和500什么意思? [ 64%]

...名字带$是什么意思? Laya.class是什么意思 layabox js中 的__super,call()是什么意思 这个写法是什么意思,能否解释一下,谢谢 camera的orthographicVerticalSize属性是什么意思? 文档上写的太简洁了! 控制台显示node --debug-brk=27489 --nolazy Debu...

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

150. Clip组件Bug:Play方法无法结束循环 [ 63%]

...rows: number, interval?: number, isLoop?: boolean) {         super(path, cols, rows);         if (interval != void 0) {             this.interval = interval;         }          this.on(Laya.Event.COMPLETE, this, () => {       ...

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