大约有 2,394 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1817) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(77) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(47)
...是否因为失焦而自动暂停,监听游戏失焦事件:Laya.stage.on(Laya.Event.BLUR,this,this.method); 在失焦的回调里设置: Laya.SoundManager.musicMuted = true; Laya.SoundManager.stopMusic(); 将正在播放的音乐路径存为成员变量; 2.监听游戏获取焦点事件...
来源: Laya_社区 发布时间: 20180813
...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/media/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors c...
来源: Laya3.0_api 发布时间: 20231115
...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Button = Laya.Button; var Clip = Laya.Clip; var Image = Laya.Image; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var buttonSkin = "../../res/ui/button-7.png"; var clipSkin = "../../re...
来源: Laya_示例 发布时间: 20251209
...: 583, radius:110, tip:"res/guide/help3.png", tipx:900, tipy:300 } ], gameContainer, guideContainer, maskArea, interactionArea, hitArea, tipContainer, guideStep = 0; class Sprite_Guide { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init...
来源: Laya2.0_示例 发布时间: 20251209
WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header 一开始连接正常,密集发送消息到服务器后,就会给服务器程序发送关闭连接的信息。WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header WebSocket connection to 'ws:/...
来源: Laya_社区 发布时间: 20180612
分享:为List组件下Item(Box)下的Button(或其他组件)进行监听! 以下是JS的写法,AS/TS思路一样,请根据自己的需求进行修改即可!var Loader = laya.net.Loader; var Handler = laya.utils.Handler; var Event = laya.events.Event; // 创建TestPageUI的子类 function...
来源: Laya_社区 发布时间: 20170513
...? 附件 : --> 2018-08-10 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 谢春 赞同来自: 实现步骤: 1、定义一个Item,界面分两层(可用两个Sprite进行划分) class Item extends ui.item...
来源: Laya_社区 发布时间: 20180810
..._sound.play(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… Copyright ©Layabox 2025 all right reserved...
来源: Laya3.0_文档 发布时间: 20251010
...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Sprite3D" Sprite3D Class Sprite3D Sprite3D 类用于实现3D精灵。 Hierarchy Node Sprite3D RenderableSprite3D BaseCamera Ligh...
来源: Laya3.0_api 发布时间: 20231115
...译也不过啊。 2018-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 13 个回复 雨送黄昏 赞同来自: 晖 、龙印 、xueLayaBox 不得不说laya的文档写得是真的烂 看了他们提供的文档经常只...
来源: Laya_社区 发布时间: 20180426