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

大约有 210 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)

171. iOS11下微信打开laya做的web,按微信的返回后,laya的web端websocket不能监听到断开 [ 48%]

...应就强制踢掉。我发现iOS11的微信虽然不会触发websocket的close,但也无法进行收发。 web这块我不是很熟,不知道laya能否提供当前webview是否在前台运行的判断?

来源: Laya_社区 发布时间: 20171215

172. ReferenceError: Loading_fly is not defined [ 48%]

...type; _proto.onPlay = function () { UIConfig.popupBgAlpha = 0.85; UIConfig.closeDialogOnSide = false; this.diango = new Laya.Dialog(); this.diango.width = Laya.stage.width; this.diango.height = Laya.stage.height; var loading_array = []; for(var i = 1; i < 28; i++ ){ loading_array.push('loading/'+...

来源: Laya_社区 发布时间: 20171107

173. 代码模式的快捷键设置(JavaScript-IDE篇(JS)-代码模式基础) [ 48%]

.../实例 New window/instance | | `Ctrl + Shift + W` | 关闭窗口/实例 Close window/instance | | `Ctrl+X` | 剪切行(空选定) Cut line (empty selection) | | `Ctrl+C` | 复制行(空选定)Copy line (empty selection) | | `Alt+ ↑ / ↓` | 向上/向下移动行 Move line up/down | | `Sh...

来源: Laya2.0_文档 发布时间: 20210715

174. 代码模式的快捷键设置(TypeScript-IDE篇(TS)-代码模式基础) [ 48%]

.../实例 New window/instance | | `Ctrl + Shift + W` | 关闭窗口/实例 Close window/instance | | `Ctrl+X` | 剪切行(空选定) Cut line (empty selection) | | `Ctrl+C` | 复制行(空选定)Copy line (empty selection) | | `Alt+ ↑ / ↓` | 向上/向下移动行 Move line up/down | | `Sh...

来源: Laya2.0_文档 发布时间: 20210715

175. 我在dialog a上继续弹出dialog b 。需要关闭b的时候,a依然存在。怎么做? [ 48%]

... constructor() { super(); console.log(" Here is DlgNote2"); this.closeEffect = null; this.closeBtn.on(Laya.Event.CLICK, this, this.toClose); //this.show(); } b的关闭方法: toClose():void{ //Laya.Scene.open("datiPage.scene"); this.close(); } a和b都是独立的ts类, expo...

来源: Laya_社区 发布时间: 20190521

176. js socket 连接不上 [ 48%]

..., receiveHandler); //接收到数据触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(event){ //正确建立连接 this.socket.send('foo','OOOO'); } function receiveHandler(msg){...

来源: Laya_社区 发布时间: 20180509

177. 代码模式的快捷键设置(ActionScript-IDE篇(AS3)-代码模式基础) [ 47%]

.../实例 New window/instance | | `Ctrl + Shift + W` | 关闭窗口/实例 Close window/instance | | `Ctrl+X` | 剪切行(空选定) Cut line (empty selection) | | `Ctrl+C` | 复制行(空选定)Copy line (empty selection) | | `Alt+ ↑ / ↓` | 向上/向下移动行 Move line up/down | | `Sh...

来源: Laya2.0_文档 发布时间: 20210714

178. LayaBox HelloWorld实战 [ 46%]

...'comp/button.png'); button.label='Hello World!'; button.name = Laya.Dialog.CLOSE; button.width=260; button.height=500; button.pos(35, 35); dialog.addChild(button); dialog.dragArea = '0,0,300,600'; dialog.show(); } onEnable() { this.btnShow.on(Laya.Event.CLICK,this,this.onBtnShowClick); } onDisable()...

来源: Laya_社区 发布时间: 20190117

179. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 45%]

...e=True): editfile = open(filepath, "r") content = editfile.read() editfile.close() if backuporiginalfile: shutil.copy(filepath, filepath + ".bak") return content def savefilewithnewcontent(content, filepath): editfile = open(filepath, "w") editfile.write(content) editfile.close() def inserttextintof...

来源: Laya_社区 发布时间: 20170418

180. 其他 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...enum class LogLevel { Debug = 5, Info = 4, Warn = 3, Error = 2, Fatal = 1, Close = 0, }; 在js脚本中,开发者可以通过以下函数设置日志级别,默认值为5: if( window.conch ) { //值为0:表示关闭所有日志输出 //值为1:表示只有Fatal日志输出 //值为2:表示...

来源: Laya3.0_文档 发布时间: 20251010