大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0050 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...ew TiledMap(); } _proto.showMap = function(num) { this.num = num; this.map.createMap("map/level/mota_map" + num + ".json",new Rectangle(0,0,448,448),Handler.create(this,this.mapLoaded));} _proto.mapLoaded = function(){ this.pass = this.map.getLayerByIndex(0);//获取通行层 console.log(this.pass);...
来源: Laya_社区 发布时间: 20170605
...错。 laya 引擎是2.5的 Laya.loader.load(cg_url,Laya.Handler.create(this,()=>{ let tur:Laya.Texture = Laya.loader.getRes(cg_url); if(tur)img_cg.graphics.drawImage(tur) }),null,Laya.Loader.IMAGE); 这段代码, ...
来源: Laya_社区 发布时间: 20201130
Animation 的createFrames 使用已经加载的图集缓存动画失败 我load图集之后, 使用Animation的createFrames缓存动作, api里写着可以使用已经加载的图集动画,结果却又去下载了,地址当然不正确了,导致无法下载.代码大致如下: Laya.loader.load('pla...
来源: Laya_社区 发布时间: 20160610
...ranslate(new Laya.Vector3(0, 1, 3)); camera.clearColor = null; Laya.loader.create(["../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm", "../../res/threeDimen/skinModel/CunMinNan/CunMinNan-cunminnan.lm", "../../res/threeDimen/skinModel/XiaoFeiLong/XiaoFeiLong-xiaofeilong.lm", "../../res/threeDim...
来源: Laya_示例 发布时间: 20251209
...aya.Tween.to(this.obj,{scaleY:1,scaleX:1},10,Laya.Ease.backIn,Laya.Handler.create(this,this.backEdHd)); } this.init = function(){ Laya.Tween.to(this.obj,{scaleY:1.05,scaleX:1.05},100,Laya.Ease.backOut,Laya.Handler.create(this,this.clickEnd)); } ...
来源: Laya_社区 发布时间: 20170301
...1.6 使用Options。1.7 预制体/场景的问题1.8 旧版本引擎load和create的兼容性问题1.9扩展Loader能力2、关于动态加载IDE里的资源说明3、LayaAir3.0 输入处理模块修改3.1 2D和3D统一接口,3.2 2D能对3D正确遮挡。3.3 新增 MOUSE_DRAG和MOUSE_DRAG_END3.4 ...
来源: Laya3.0_文档 发布时间: 20251010
...eBinds():void{ let source:BindSource; let position:Laya.Point=Laya.Point.create(); for(let index:number=0;index<this.__bindList.length;index++){ source=this.__bindList[index]; SkeletonUtils.getBoneLocalPoint(this,source.boneName,position); source.x=source.offestX+position.x; source.y=source.of...
来源: Laya_社区 发布时间: 20190805
....Tween.to(item.value, toProps, item.duration *1000, item.easeType, Handler.create(this,this.__tweenRepeatComplete,[item])); 这代码只是个示例 item.tweener.update=Handler.create(this,this.__tweenUpdate,[item],false);}还有我感觉当Tween.to 的第二个参数为{} 的时候,应该也会...
来源: Laya_社区 发布时间: 20180322
...ar bt = Physics3D._bullet; var btColObj = bt.btCollisionObject_create(); bt.btCollisionObject_setUserIndex(btColObj, this.id); bt.btCollisionObject_forceActivationState(btColObj, PhysicsComponent.ACTIVATIONSTATE_DISABLE_SIMULATION); var flags = bt.btCo...
来源: Laya_社区 发布时间: 20200505
...10:38.252868+0800 SwiftLayaNative[98971:4069811] iOS OpenGL ES 3.0 context created 2019-05-10 17:10:38.253489+0800 SwiftLayaNative[98971:4069811] 当前应用软件版本:1.0 2019-05-10 17:10:38.253591+0800 SwiftLayaNative[98971:4069811] 当前应用Local版本号码:1 2019-05-10 17:10:38.253705+0...
来源: Laya_社区 发布时间: 20190510