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

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

461. laya.ui.Widget [ 49%]

...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

462. 加载-错误处理和进度 [ 48%]

...开发更高效。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

463. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 48%]

... 不会提示循环引用, 可以调试. 发布也用旧的脚本 .    const uglify = require(ideModuleDir + "gulp-uglify"); 改为 const uglify = require(ideModuleDir + "gulp-uglify-es").default;     mangle: false    这样压缩也不会错了 ,完美.   2019-08-01 0 1 分享...

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

464. 使用layaide进行打包,提示如下错误。 [ 48%]

...ayaide进行打包,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode   网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问...

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

465. laya.net.Socket [ 48%]

...es | Index | Frames No Frames SocketProperties | Methods | Events | Constants Packagelaya.netClasspublic class SocketInheritanceSocket EventDispatcher Object Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-duplex)的实时通信,并且允许跨域...

来源: laya_api 发布时间: 20170929

466. rev-path的nodejs库被修改了,导致版本管理失效 [ 48%]

...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

467. Label属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 48%]

...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

468. laya.net.Socket [ 48%]

...es | Index | Frames No Frames SocketProperties | Methods | Events | Constants Packagelaya.netClasspublic class SocketInheritanceSocket EventDispatcher Object Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-duplex)的实时通信,并且允许跨域...

来源: Laya2.0_api 发布时间: 20190513

469. 性能测试-卡通人物 [ 48%]

...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

470. Sprite-根据数据绘制路径 [ 48%]

...发语言、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