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

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

501. ts加密md5码封装 [ 48%]

ts加密md5码封装 tsconfig.json { "compilerOptions": { "module": "commonjs", "target": "es6", "sourceMap": true }, "exclude": [ "node_modules" ] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:M...

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

502. layaMaxUI.ts的自动生成代码bug [ 48%]

...t Dialog=Laya.Dialog; var REG: Function = Laya.ClassUtils.regClass; export module ui { export class MainSceneUI extends Laya.SceneBase { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("MainScene"); } } REG("ui.MainSceneUI",MainSceneUI); } 期待生成SceneBase...

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

503. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 48%]

...建出符合自己需要的进度条。 **示例代码:** ```javascript module laya { import Stage = Laya.Stage; import ProgressBar = Laya.ProgressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不...

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

504. 升级到3.0-beta6无法选择资源了 [ 48%]

...问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 module写法的模块无法使用,其他地方使用会报错 [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 问题状态 最新活动: 2023-04-13 10:51 浏览: 3687 关注: 3 人...

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

505. UI-TextArea [ 48%]

...,8"; var scaleFactor = Browser.pixelRatio; Laya.stage.addChild(ta); } })();module laya { import Stage = Laya.Stage; import TextArea = Laya.TextArea; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_TextArea { private skin: string = "../../res/u...

来源: Laya_示例 发布时间: 20241001

506. 文本-自动换行 [ 48%]

... Laya.stage.height - txt.textHeight >> 1; Laya.stage.addChild(txt); } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_WordWrap { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Brow...

来源: Laya_示例 发布时间: 20241001

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

...traSpace) { charactor.x = -extraSpace; } } } new PerformanceTest_Cartoon();module laya { import Sprite = Laya.Sprite; import Loader = Laya.Loader; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class PerformanceTest_Cartoon { ...

来源: Laya2.0_示例 发布时间: 20241001

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

...th / 2, Laya.stage.height / 2, path, "#FF7F50"); } } new Sprite_DrawPath();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_DrawPath { constructor() { // 不支持WebGL时自动切换至Canvas Laya.ini...

来源: Laya2.0_示例 发布时间: 20241001

509. [LayaAirIDE3][LayaAirIDE3]laya3.0 VideoNode视频遮罩无法播放问题 [ 48%]

...ween动画无法正常作用问题-解决办法 3D模型无法修改scale? module写法的模块无法使用,其他地方使用会报错 laya3.0 VideoNode视频遮罩无法播放问题 求教: soundManager如何停止正在播放的背景音乐 问题状态 最新活动: 2024-09-18 14:29 浏览:...

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

510. 文本-HTML文本 [ 48%]

....stage.addChild(p); p.href = "../../res/html/test.html"; p.y = 200; } })();module laya { import Stage = Laya.Stage; import HTMLDivElement = Laya.HTMLDivElement; import HTMLIframeElement = Laya.HTMLIframeElement; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_HTML { const...

来源: Laya_示例 发布时间: 20241001