大约有 589 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
Laya_社区(199) Laya2.0_示例(114) Laya3.0_文档(94) Laya2.0_api(91) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
...All Classes | Index | Frames No Frames WidgetProperties | Methods | Constants Packagelaya.uiClasspublic class WidgetInheritanceWidget Component Object 相对布局插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bottom : Number...
来源: Laya2.0_api 发布时间: 20190513
...开发更高效。let numLoaded = 0; class Loader_ProgressAndErrorHandle { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(Bro...
来源: Laya2.0_示例 发布时间: 20260106
... 不会提示循环引用, 可以调试. 发布也用旧的脚本 . const uglify = require(ideModuleDir + "gulp-uglify"); 改为 const uglify = require(ideModuleDir + "gulp-uglify-es").default; mangle: false 这样压缩也不会错了 ,完美. 2019-08-01 0 1 分享...
来源: Laya_社区 发布时间: 20190730
...ayaide进行打包,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode 网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问...
来源: Laya_社区 发布时间: 20170604
...es | Index | Frames No Frames SocketProperties | Methods | Events | Constants Packagelaya.netClasspublic class SocketInheritanceSocket EventDispatcher Object Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-duplex)的实时通信,并且允许跨域...
来源: laya_api 发布时间: 20170929
...9:23 官方链接 - https://github.com/sindresorhu ... ex.js 'use strict'; const modifyFilename = require('modify-filename'); module.exports = (pth, hash) => { if (!(pth && hash)) { throw new Error('`path` and `hash` required'); } return modifyFilename(pth, (filename, ext) => `${filena...
来源: Laya_社区 发布时间: 20200831
...F", "#00FFFF").pos(290, 150); } function createLabel(color, strokeColor) { const STROKE_WIDTH = 4; var label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = stroke...
来源: Laya2.0_文档 发布时间: 20210714
...es | Index | Frames No Frames SocketProperties | Methods | Events | Constants Packagelaya.netClasspublic class SocketInheritanceSocket EventDispatcher Object Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-duplex)的实时通信,并且允许跨域...
来源: Laya2.0_api 发布时间: 20190513
...peed = 2, rotateSpeed = 2, characterGroup; class PerformanceTest_Cartoon { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser....
来源: Laya2.0_示例 发布时间: 20260106
...发语言、LayaAirIDE让项目开发更高效。class Sprite_DrawPath { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE...
来源: Laya2.0_示例 发布时间: 20260106