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

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

1. 屏幕适配-屏幕适配 [ 100%]

...", "fixedheight"]; //当前适配模式索引 private index: number = 0; //全局文本信息 private txt: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1136, 640, WebGL); //设置适配模式 Laya.stage.scaleMode = "noscale"; //设置横竖屏 Laya.stage.screenMode = Sta...

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

2. UI-RefreshList [ 91%]

...=> { this.refreshList.scrollBar.disableDrag = false; })); } else { //转换全局坐标为列表单元格的本地坐标并保存 this.moveLastPos = e.target.globalToLocal(new Point(Laya.stage.mouseX, Laya.stage.mouseY)); //鼠标按下的时候进行移动侦听 e.target.on(Event.MOUSE_MOVE, this, ...

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