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

大约有 4,101 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0079 秒)

811. alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] [ 90%]

alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] mac系统 laya 2.2.0 打包到xcode,build没有问题,真机和模拟器调试报错 alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"]at line 102...

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

812. 如何通过代码控制prefab上面的时间轴动画animation? [ 90%]

...以添加 监听函数 监听动画播放结束 ss.show.on(Event.COMPLETE, this, onAnimComplete);     good luck:) 2019-02-15 0 0 分享 微博 QZONE 微信 nevercai 赞同来自: load之后实例化prefab,实例化之后就跟普通scene一样使用了。 ... let prefab:Laya.Prefab = Laya.loader...

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

813. warning:Laya.timer.once This variable is not defined. [ 90%]

warning:Laya.timer.once This variable is not defined. file:////Users/qykings/work/layaGame/src/view/game/logic/actors/actorClass/LocalPlayer.as (2000):warning:Laya.timer.once This variable is not defined.   更新到"1.7.16" mac layaAir 有这问题    win没有   好尴尬   2018-03-20 添加...

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

814. [LayaNative3]new CommondBuffer 没有回收释放,每次用完,直接给置成null,每次buffermemory都会增长,不会下降 [ 90%]

...收内存, 辗转到Command Buffer中的DrawMeshInstancedCMD 类中,this._curDrawMeshInstancedCMD = cmd.drawMeshInstance(this._mesh,0,this.transformMatrices,this._mat,0,this.materialBlock,this.transformMatrices.length); 这个方法中拿到这个DrawMeshInstancedCMD对象,然后执行recover...

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

815. Sprite.loadImage();问题 [ 90%]

... function initMap(texture:Texture, bgID:int):void{             if(this.oldBgID != bgID){                 oldBgID = bgID;                 if(oldTexture){                     oldTexture.destroy(true);                     oldTexture = null;...

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

816. 打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function [ 89%]

打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function gameThirdScriptError this.preinitialize is not a function TypeError: this.preinitialize is not a function 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

817. timer无法执行 [ 89%]

...,可以正常执行,但是 constructor() { super(); //添加3D场景 this.onAwake(); //加载camera和light this.onStart(); //加载地面 this.loadGround(); //加载墙面 this.loadwall(); this.loopShoot(); } public loopShoot(): void{ Laya.timer.loop(1000, this, this.shootBall); }   public sho...

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

818. bug,ChainCollider.points第二次设置,会报错! [ 89%]

...建子弹 let flyer: Laya.Sprite = Laya.Pool.getItemByCreateFun("bullet", this.bullet.create, this.bullet); flyer.pos(Laya.stage.mouseX, Laya.stage.mouseY); this._gameBox.addChild(flyer); this._chains.points="35,35,80,80";     //****新增代码*****,需增加private _chain; } /**开始游戏...

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

819. Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 89%]

...erDerivePhysicsTransformation(physicTransformOut, force) { var transform = this.owner._transform; if (force || this._getTransformFlag(Laya.Transform3D.TRANSFORM_WORLDPOSITION)) { var shapeOffset = this._colliderShape.localOffset; var position = transform.position; var btPosition = CannonPhysicsCompo...

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

820. 请教Laya.BitmapFont加载位图文字不能显示的问题 [ 89%]

...; private mBitmapFont:Laya.BitmapFont; constructor() { Laya.init(600,400); this.mBitmapFont = new Laya.BitmapFont(); this.mBitmapFont.loadFont("../laya/assets/txt.fnt", new Laya.Handler(this.onLoaded)); } private onLoaded():void { this.init(); } private init():void { this.mBitmapFont.setSpaceWidth(1...

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