大约有 4,101 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0079 秒)
Laya_社区(3322) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
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
...以添加 监听函数 监听动画播放结束 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
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
...收内存, 辗转到Command Buffer中的DrawMeshInstancedCMD 类中,this._curDrawMeshInstancedCMD = cmd.drawMeshInstance(this._mesh,0,this.transformMatrices,this._mat,0,this.materialBlock,this.transformMatrices.length); 这个方法中拿到这个DrawMeshInstancedCMD对象,然后执行recover...
来源: Laya_社区 发布时间: 20250717
... function initMap(texture:Texture, bgID:int):void{ if(this.oldBgID != bgID){ oldBgID = bgID; if(oldTexture){ oldTexture.destroy(true); oldTexture = null;...
来源: Laya_社区 发布时间: 20171019
打地鼠发布成微信小游戏后提示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
...,可以正常执行,但是 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
...建子弹 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
...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
...; 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