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

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

11. VSCODE高效再+1,自动刷新 [ 93%]

...浏览器会自动刷新 gulp.src(entry).pipe(connect.reload()); }) } gulp.task('connect', function () { connect.server({ root: './bin/',//服务根目录,按需设定,可以设定./ livereload: true, port: 8081 }); }); gulp.task("watch", function () { /** * @ 监听src目录下的所有子目...

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

12. LIST renderHandler的ITEM高度自定义后,设置content变更其内部容器大小不生效 [ 92%]

...后,设置content变更其内部容器大小不生效 ViewActivityLimitedTask.prototype.initComp = function() { this.list_view.vScrollBarSkin = ""; this.list_view.scrollBar.elasticBackTime = ListConst.elasticBackTime; this.list_view.scrollBar.elasticDistance = ListConst.elasticDistance; this.list_...

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

13. laya.loaders.TextureLoader_API3.0 [ 92%]

... Implements IResourceLoader Index Methods load wrapTex2D Methods load load(task: ILoadTask): Promise<Texture> Implementation of IResourceLoader.load Defined in laya/loaders/TextureLoader.ts:241 Parameters task: ILoadTask Returns Promise<Texture> wrapTex2D wrapTex2D(task: ILoadTask, tex2D...

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

14. laya.loaders.AnimationController2DLoader_API3.0 [ 91%]

...Implements IResourceLoader Index Methods load loadStates Methods load load(task: ILoadTask): Promise<AnimatorController2D> Implementation of IResourceLoader.load Defined in laya/loaders/AnimationController2DLoader.ts:7 Parameters task: ILoadTask Returns Promise<AnimatorController2D> load...

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

15. 如何终止活动任务? [ 88%]

...回复被折叠 要回复问题请先登录 发起人 Chaplin 相关问题 tasks.json 中无标记为生成任务,请使用"isBuildCommand"标记任务 扩展主机意外终止。请重新加载窗口以恢复 做"活动说明"图片滚动,图片超过2048不允许mask? IDE中的任务菜单...

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

16. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 88%]

...面构建类似。     Deveco Studio 运行日志:17:14:31.721: build task in 17 s 619 ms 17:14:31.724: Launching com.layabox.game 17:14:31.729: $ hdc shell aa force-stop com.layabox.game 17:14:32.091: $ hdc shell mkdir data/local/tmp/a8cdde5615e44ded8e1065458d8e3917 17:14:34.282: $ hdc file sen...

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

17. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 88%]

...st fs = require('fs'); // 如果是发布时调用编译功能,增加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } gulp.task("compile", prevTasks, function () { // 发布时调用编译功能,判断是否点击了编译选项 if (global.publish) { workSpaceDir...

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

18. worker的问题 [ 87%]

...件,在AS3脚本里加入 var worker:* = new Browser.window.Worker("my_task.js"); 执行时总是报错,加载不了my_task.js这个文件,是为什么呢? [warn]Retry to load: D:/LayaBox/1219/bin/h5/my_task.js [error]Failed to load: D:/LayaBox/1219/bin/h5/my_task.js 2018-01-08 添加评论 ...

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

19. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 87%]

...: class Abc { IEditor.menu("App/my/build") static build() { IEditor.BuildTask.start("web"); } } 在场景进程也可以手动启动构建任务: IEditorEnv.BuildTask.start("web"); 通过构建插件定制插件流程,构建插件的接口是IBuildTask。IBuildTask的定义为: export interfac...

来源: Laya3.0_文档 发布时间: 20251010

20. 2.x引擎项目升级说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 86%]

...载多个,分别设置类型 }); 1.3 加载多个文件(组合) let tasks:Array<Promise<any>> = []; tasks.push(Laya.loader.load(url)); tasks.push(Laya.loader.load(url2)); Promise.all(tasks).then((res:Array<any>)=> { //用于异步加载 }); 1.4 Texture和Texture2D的问题...

来源: Laya3.0_文档 发布时间: 20251010