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

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

1. 输入设备-地图 [ 100%]

...p, marker, mapDiv, infoText; class InputDevice_Map { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Geolocation = Laya.Geolocation; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, 255); // Laya.stage....

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

2. Sprite-屏幕截图 [ 95%]

...让项目开发更高效。class Sprite_ScreenShot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; this.nameArr = ["canvas截图","sprite截图","...

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