大约有 365 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
Laya_社区(306) Laya2.0_文档(21) Laya3.0_api(12) Laya3.0_文档(8) Laya2.0_示例(7) Laya2.0_api(6) laya_api(5)
...null; this.monkeyTexture = null; // 不支持WebGL时自动切换至Canvas Config.preserveDrawingBuffer =true; Laya.init(Browser.clientWidth, Browser.clientHeight); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_FIXED_AUTO; Laya.sta...
来源: Laya2.0_示例 发布时间: 20260303
...'; // 发送通用请求(添加认证令牌支持) static _sendRequest(config) { return __async(this, null, function* () { const { endpoint, method, body, queryParams, token } = config; try { let url = `${this.baseUrl}/${endpoint}`; if (queryParams && Object.keys(queryParams).length >...
来源: Laya_社区 发布时间: 20251115
...此侦听事件响应一次后自动移除。 EventDispatcher setAtlasConfigs(url:String, config:Object):void[static] 设置预加载的图集配置文件 Loader setGroup(url:String, group:String):void[static] 设置资源分组。 LoaderProtected Methods MethodDefined By complete(data:*)...
来源: laya_api 发布时间: 20170929
....937914+0800 qimiaomuchanIOS[5815:1707048] require(/sdcard/layabox/scripts/config.js) 2018-01-28 23:29:52.940149+0800 qimiaomuchanIOS[5815:1707048] found the file in the package:scripts/config.js 2018-01-28 23:29:52.961968+0800 qimiaomuchanIOS[5815:1707009] Download [ ]:http://petapp.thepubliccoin.c...
来源: Laya_社区 发布时间: 20180129
...加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } console.log("jsroads------prevTasks:" + JSON.stringify(prevTasks)); //使用browserify,转换ts到js,并输出到bin/js目录 gulp.task("compile", "", function () { // 发布时调用编译功能,判断是否...
来源: Laya_社区 发布时间: 20181221
...task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')...
来源: Laya_社区 发布时间: 20190528
...。class Physics_Physics_Bridge { constructor() { this.ecount = 30; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.AL...
来源: Laya2.0_示例 发布时间: 20260303
...赞同来自: (function(){ var Stage=Laya.Stage; var WebGL=Laya.WebGL; var config=Config; (function(){ console.log("运行程序。"); Laya.init(1280,720,WebGL); //设置适配模式 Laya.stage.alignH=Stage.ALIGN_CENTER; Laya.stage.alignV=Stage.ALIGN_MIDDLE; Laya.stage.scaleMode="showall"; Laya.Stat...
来源: Laya_社区 发布时间: 20171207
... 下边的类在API文档里找不到对应的??? LayaNative中的 config.js 的具体使用文档 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 提示错误在laya.core.js里 我浏览在线文档 关于...
来源: Laya_社区 发布时间: 20180131
...,可以使用ts的import/export处理这个问题 一、调试 修改tsconfig.json,把module和target都改为ES6,因为es6的语法和ts很像,调试的时候看es6就可以了,索性把sourceMap也关掉{ "compilerOptions": { "module": "ES6", "target": "ES6", "sourceMap": false } } 删...
来源: Laya_社区 发布时间: 20171120