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

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

431. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 49%]

... = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary {     constructor() {         this.aniPath = "res/powerup-pro.skel";         this.index = -1;         // Laya.init(Browser.width, Browser.height, WebGL);         // Laya.stage.scaleMode = S...

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

432. List翻页效果怎么实现 [ 48%]

..."../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(thi...

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

433. 使用layaAir3D从unity3D中导出场景模型时报错 [ 48%]

...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 qian 赞同来自: ide版本...

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

434. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 48%]

...之后材质基类由BaseMaterial变更为Material。 ```typescript export class CustomMaterial extends Laya.Material { public function CustomMaterial() { super(); //设置本材质使用的shader名字 this.setShaderName("CustomShader"); } } ``` #### 4.使用自定义材质 ​ 在使用自定义...

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

435. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 48%]

...lization": true,  /* Enable strict checking of property initialization in classes. */     // "noImplicitThis": true,                /* Raise error on 'this' expressions with an implied 'any' type. */     // "alwaysStrict": true,                  /* Parse in strict mode and emit...

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

436. 滤镜的集中实现 [ 48%]

...hengxi 感谢,仿照楼主写了个as3版本的。这里贴出来 public class FilterTest { public function FilterTest() { //初始化引擎 Laya.init(1110, 1110,WebGL); //设置舞台背景色 Laya.stage.bgColor="#fffff"; //加载资源 Laya.loader.load("res/atlas/comp.json",Handler.create(this,c...

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

437. layaAir TS项目如何引用protoBuf库? [ 48%]

...码参考了上面那个连接,但稍微做了修改: // 程序入口 class GameMain{     constructor(){         var Loader = Laya.Loader;         var Browser = Laya.Browser;         var Handler = Laya.Handler;         var ProtoBuf = Browser.window.protobuf;       ...

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

438. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 48%]

...看 海货 • 2018-07-15 16:17 import WebGL = Laya.WebGL; // 程序入口 class GameMain { constructor() { //TS或JS版本初始化微信小游戏的适配 Laya.MiniAdpter.init(); //初始化引擎 Laya.init(600, 400, WebGL); //设置屏幕缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_NOSCAL...

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

439. 今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined [ 48%]

...f undefined Wechat Lib:2.0.1, 2018.4.14 12:32:36 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} WAGame.js:3 gameThirdScriptError Cannot read property 'USER_DATA_PATH' of undefined TypeError: Cannot read property 'USER_DATA_PATH' of undefined     at Function.MiniFileMgr.setNa...

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

440. 微信飞机大战报错 [ 48%]

... this, this.onPauseBtnClick);         this.reset();     }     Laya.class(GameInfo, "GameInfo", _super);     var _proto = GameInfo.prototype;     _proto.reset = function(){         this.infoLabel.text = "";         this.hp(5);         this.level(0);         this.score(0); ...

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