大约有 1,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked ...
来源: Laya3.0_api 发布时间: 20231115
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 如何获取一个3D模型的长宽高? 1.7.15 小游戏3d 发布后在...
来源: Laya_社区 发布时间: 20180529
... cell.publicSpaceData = cell.dataSource; } module gamepublicspaceitem { export class PublicSpaceItem extends Laya.Box { public static BTN_ENTRER_CLICK:string = "BtnEnterClick"; public _publicSpaceData:datasheet.PublicSpaceData; private bg:Laya.Image; private btnEnter:Laya.Button;...
来源: Laya_社区 发布时间: 20170923
...2D聚光灯的效果: const { regClass, property } = Laya; @regClass() export class SpotLight extends Laya.Script { @property({ type: Laya.Sprite }) private spotLight: Laya.Sprite; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.setSpotLight(); } // 创建聚...
来源: Laya3.0_文档 发布时间: 20251010
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked bottom c...
来源: Laya3.0_api 发布时间: 20231102
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 2.1.1.1引擎微信小游戏掉帧严重 问题状态 最新活动: 2019-11-15 17:52 浏览: 1922 关注: 2 人 选 • 2019-11-15 17:50 可是我已经是用新版的IDE升级的引擎库啊,而且也重新编...
来源: Laya_社区 发布时间: 20191115
... Setting --- 其他设置 Cover Original Export Files 导出时覆盖原始导出文件 Customize Export Root Directory Name 自定义导出文件夹名称 Automatically ...
来源: Laya_社区 发布时间: 20170428
... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sound_SimpleDemo { //声明一个信息文本 private txtInfo: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stag...
来源: Laya_示例 发布时间: 20260819
...er = Laya.Browser; import WebGL = Laya.WebGL; import Render = Laya.Render; export class Physics_NewtonsCradle { private stageWidth: number = 800; private stageHeight: number = 600; private Matter: any = Browser.window.Matter; private LayaRender: any = Browser.window.LayaRender; private mouseConstrai...
来源: Laya_示例 发布时间: 20260819
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture Atlas...
来源: Laya3.0_api 发布时间: 20231115