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

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

171. [LayaAirIDE3]2d相机打包后问题 [ 50%]

...件监听         this.joystickScript.owner.on(Joystick.MOVE, this, (data: any) => {             this.playerScript.move(data.direction, data.force);         });          this.joystickScript.owner.on(Joystick.END, this, () => {             this.playerScript.stop();   ...

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

172. 1整天了,还是没解决加载本地文件问题 [ 50%]

...tlas. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 另外 LayaIDE 编译打开经常只有黑屏,或者: 未定义任何生成任务。使用 "isBuildCommand" 在 tasks.json 文件中标记任务。 { // See https://go.microsoft.com/...

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

173. 引擎能打包成html页面,然后直接用手机webview加载吗? [ 49%]

...会受到跨域加载的限制。 比如加载图片提示如下: file:///data/user/0/test/files/apps/fb77dedd-fee0-40dd-9a63-4e00cb6b6a89/1.0.0/index.html-line0 :Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is the...

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

174. laya.ui.ProgressBar [ 49%]

...开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 ProgressBar destroyed : Boolean[...

来源: laya_api 发布时间: 20170929

175. laya.ui.Dialog_API3.0 [ 48%]

... scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_dataSource set_height set_scaleX set_scaleY set_transform set_visible set_width show size skew startDrag stopDrag timerLoop timerOnce toParentPoint updateZOrder close closeAll closeByGroup destroy fromImage gc getDialogsByGro...

来源: Laya3.0_api 发布时间: 20231115

176. laya.ui.ProgressBar [ 48%]

...开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 ProgressBar destroyed : Boolean ...

来源: Laya2.0_api 发布时间: 20190513

177. 打包安卓Android studio黑屏 [ 48%]

...程 InitMainCanvas() E/LayaConch5: plugin-----------------EngineStart() = /data/user/0/com.layabox.test//LayaCache/localstorage I/LayaBox: JNI localStoragePath=/data/user/0/com.layabox.test//LayaCache/localstorage I/MainCanvas: Android OpenGL ES Major Version 3 I/WebViewFactory: Loading com.google.a...

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

178. List翻页效果 [ 48%]

...0 1 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.h...

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

179. List翻页效果怎么实现 [ 47%]

...0 1 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.h...

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

180. 打包成APK运行一半崩溃 [ 47%]

...1    8591-8591/? E/LayaConch5﹕ plugin-----------------EngineStart() = /data/user/0/com.mygame.laya/cache//LayaCache/localstorage 04-11 11:17:08.951    8591-8591/? I/LayaBox﹕ localStoragePath=/data/user/0/com.mygame.laya/cache//LayaCache/localstorage 04-11 11:17:09.000    8591-8591/? I/WebV...

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