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

大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)

2771. 微信小游戏资源总是加载旧的资源 [ 42%]

...   引擎版本1.7.18beta   我是用这样的方式加载的图集 Laya.loader.load([{url: "res/atlas/xxx1.json", type: Loader.ATLAS},         {url: "res/atlas/xxx2.json", type: Loader.ATLAS},          {url: "res/atlas/xxx3.json", type: Loader.ATLAS}], Handler.create(...   并且在...

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

2772. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load(this.skin,Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个Button实例 var btn:Laya.Button = new Laya.Button(this.skin); //将Button添加到舞台上 Laya....

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

2773. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 42%]

..., transform:Transform3D):void 设置渲染相关状态。 BaseMaterial _upload():void 上传材质。 BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial  load(url:String):ShurikenParticleMaterial[static] 加载手里剑粒子材质。 ShurikenParticl...

来源: laya_api 发布时间: 20170929

2774. 加载 unity3D导入的旧版蒙皮动画时出现错误 [ 42%]

...nimations;             skinAni.templet = Laya.AnimationTemplet.load(this.skinAniUrl[0]);             skinAni.player.play();         }         for (var i: number = 0, n: number = spirit3D._childs.length; i < n; i++)             this.addSkinCompon...

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

2775. Spine动画使用(TypeScript-LayaAir基础篇(TS)-动画基础) [ 42%]

...keleton); skeleton.pos(600,700); //通过加载直接创建动画 skeleton.load("res/spine/spineboy/spineboy.sk"); ``` 运行效果如动图8所示 ![动图8](img\8.gif) (动图8)

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

2776. Spine动画使用(JavaScript-LayaAir基础篇(JS)-动画基础) [ 42%]

...keleton); skeleton.pos(600,700); //通过加载直接创建动画 skeleton.load("res/spine/spineboy/spineboy.sk"); ``` 运行效果如动图8所示 ![动图8](img/8.gif) (动图8)

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

2777. Clip属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...tage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; //预加载资源 Laya.loader.load([this.buttonSkin, this.clipSkin, this.bgSkin], Laya.Handler.create(this, this.onSkinLoaded)); } private onSkinLoaded(): void { this.showBg(); this.createTimerAnimation(); this.showTotalSeconds(); this.createContro...

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

2778. 图片遮罩大小跟设置不一致 [ 42%]

...olor = "#232628"; showApe(); })(); function showApe() { // 方法1:使用loadImage var ape = new Sprite(); Laya.stage.addChild(ape); ape.loadImage("../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function...

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

2779. laya.d3.core.material.EffectMaterial_API3.0 [ 42%]

...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new EffectMaterial(): EffectMaterial Overrides Material.constructor Defined in laya/d3/core/material/EffectMaterial.ts:57 创建一个 EffectMaterial 实例。 Returns EffectMaterial Properties _...

来源: Laya3.0_api 发布时间: 20231115

2780. [LayaAirIDE3]【工具分享】免费图集打包工具, 替代 TexturePacker [ 42%]

...问题请先登录 发起人 153*****169 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 请问laya有没有地图编辑器工具? 分享:自定义...

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