大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)
Laya_社区(422) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(33) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
...scrollY += prevY - nowY; prevX = nowX; prevY = nowY; } } new Text_Scroll();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Scroll { private txt: Text; private prevX: number = 0; p...
来源: Laya2.0_示例 发布时间: 20241001
...nIndicator.y = -1 * Math.floor(info.beta) / 90 * 70 + compassImg.y; } })() module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Gyroscope = Laya.Gyroscope; import RotationInfo = Laya.RotationInfo; import Browser = Laya.Browser; import Handler = Laya.H...
来源: Laya_示例 发布时间: 20241001
...h.floor(info.beta) / 90 * 70 + compassImg.y; } } new InputDevice_Compass();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Gyroscope = Laya.Gyroscope; import RotationInfo = Laya.RotationInfo; import Browser = Laya.Browser; import Handler = Laya.H...
来源: Laya2.0_示例 发布时间: 20241001
...om() * Laya.stage.width; food.y = Math.random() * Laya.stage.height; } })()module laya { import Sprite = Laya.Sprite; import AccelerationInfo = Laya.AccelerationInfo; import Accelerator = Laya.Accelerator; import Point = Laya.Point; import Browser = Laya.Browser; import Handler = Laya.Handler; impor...
来源: Laya_示例 发布时间: 20241001
...e if (e.code == Geolocation.PERMISSION_DENIED) alert("无权限"); } })(); module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Geolocation = Laya.Geolocation; import Position = Laya.GeolocationInfo; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Input...
来源: Laya_示例 发布时间: 20241001
...his.width; return new Point(tx, ty); } } new InputDevice_GluttonousSnake();module laya { import Sprite = Laya.Sprite; import AccelerationInfo = Laya.AccelerationInfo; import Accelerator = Laya.Accelerator; import Point = Laya.Point; import Browser = Laya.Browser; import Handler = Laya.Handler; impor...
来源: Laya2.0_示例 发布时间: 20241001
... [info] Application Directory: C:\Program Files\LayaAirIDE3\resources\node_modules\nativetools\bin\ [2023-06-20 18:19:19.035] [resource_tool] [info] FBX file format version for this FBX SDK is 7.7.0 [2023-06-20 18:19:19.035] [resource_tool] [info] lAbsFolderName: D:\2023_6_20_秘密超市\demo\asset...
来源: Laya_社区 发布时间: 20230621
...建出符合自己需要的文件夹。 **示例代码:** ```javascript module laya { import Stage = Laya.Stage; import Tree = Laya.Tree; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; import Utils = Laya.Utils; export class UI_Tree { constructor() { // ...
来源: Laya2.0_文档 发布时间: 20210714
...设置中进行配置。 游戏包名 游戏包名的格式是 com.company.module 第一位com不要变,第二位是公司名,第三位是项目名。都要写英文,例如:com.layabox.demoGame。 游戏版本 游戏版本与版本名称用处不同,这里是渠道平台用于区别版本...
来源: Laya3.0_文档 发布时间: 20240926
...olocation.PERMISSION_DENIED) alert("无权限"); } } new InputDevice_Map();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Geolocation = Laya.Geolocation; import Position = Laya.GeolocationInfo; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Input...
来源: Laya2.0_示例 发布时间: 20241001