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

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

1031. Texture2D的GPU纹理压缩的使用(ActionScript-3D基础(AS3)-LayaAir3D之纹理) [ 55%]

...ene_TextureGPUCompression/Conventional/"; Scene3D.load("scene.ls", Handler.create(.......)); ```

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

1032. 粒子释放问题 [ 55%]

...th += "../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })();   function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp);   sp.x = Laya.stage.width / 2; sp.y = Laya...

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

1033. 编译时候报错 如下 怎么解决呢 [ 55%]

...rectly extends base class static side 'typeof Texture'. Types of property 'create' are incompatible. Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: number, depthStencilFormat?: number,...' is not assignable to type '(source: any, x: number, y: number, width: number, height: numbe...

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

1034. 执行了这个 Laya.timer.clear(this, this.onLoop);还是会继续执行onLoop [ 55%]

...时报is not a function 怎样跨页面执行脚本命令? Laya.loader.create 进度回调函数执行两次 注册函数里面 事件侦听函数的执行域 的详解 问题状态 最新活动: 2018-04-11 19:17 浏览: 810 关注: 2 人 Prajna • 2018-04-12 09:31 是的,onLoop里有5条语句...

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

1035. [LayaAir3]spine显示不对 [ 54%]

...:onEnable(): void { Laya.loader.load("swk/zhujue_wk.skel", Laya.Handler.create(this, () => { this.owner.getComponent(Laya.Spine2DRenderNode).changeNormal(); })); }   2024-10-10 0 1 分享 微博 QZONE 微信 layabox 赞同来自: 已记录,我们节后看一下 2024-09-30 0 0 分享 微博 Q...

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

1036. laya空项目怎么加载unity带出的.ls文件 [ 54%]

...ne = Laya.Scene3D.load("LayaScene_xfg/layaScene.ls",Laya.Handler.create(this,function(_s){ Laya.stage.addChild(_s); })); 这样还是报错 说secne是void

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

1037. app构建后在真机中运行报错 [ 54%]

...;     /**     *通过预制创建实例     */     __proto.create=function(){         if (this.json)return SceneUtils.createByData(null,this.json);         return null;     }      return Prefab; })() 附件 : --> 2018-11-02 添加评论 免费帖 --> 分享 ...

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

1038. bind函数的作用 [ 54%]

...bind(this)); a15715740412 • 2018-01-30 16:31 /** * For a given function, creates a bound function that has the same body as the original function. * The this object of the bound function is associated with the specified object, and has the specified initial parameters. * @param thisArg An object t...

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

1039. 技术文档中的示例js运行报错 [ 54%]

...ge.bgColor="#fff" Laya.loader.load('./../bin/res/atlas/res.atlas', Handler.create(this, onLoaded)) })() function onLoaded() { var cMask = new maskDemoUI() Laya.stage.addChild(cMask) } })()   附件 : --> 2018-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

1040. Unity导出的粒子,在Laya上首次播放会有问题 [ 54%]

...如何自己找到这个特效的所用的所有Shader,然后自己提前create呢?  附件 : --> 2018-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 目前提供的信息不知...

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