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

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

1341. Laya.HttpRequest 没有调用回调方法? [ 56%]

...w Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(da...

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

1342. TextInput 监听事件 Laya.Event.INPUT 事件在IOS 环境下没动作 [ 56%]

...动作 附件 : --> 2022-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 凱文 赞同来自: 沒人有這個問題嗎 2022-02-22 0 0 分享 微博 QZONE 微信 之肖 赞同来自: 试试this.vertify1.on(Lay...

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

1343. 关于event中只读属性touches,问题,求解 [ 56%]

...ents.Event; import laya.webgl.WebGL; public class DemoTouch { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200; txt.y = 100; txt.fontSize = 50...

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

1344. 请问layabox怎么使用js对指定区域或者全屏截图? [ 56%]

...本论坛上类似问题都是链接到了 https://ask.layabox.com/question/4150这里,但是我看了下似乎这个代码没有什么用啊? 能有一份js的吗? 麻烦懂的大神能够直接上代码哦! 我相信这个问题很多开发者都会遇到的。 上代码简单暴力一些...

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

1345. [LayaAirIDE3]使用Mask功能导致Uncaught Error: asBitmap no size! [ 56%]

...误   附件 : --> 2024-03-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 木易楊 相关问题 Layabox 2.0 bate5 运行编译之...

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

1346. 求教 JS项目的Promise如何使用 [ 56%]

...化舞台 Laya.init(1334, 750); //需要切换的图片资源路径 this.monkey2 = "res/img/monkey2.png"; //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //先加载图片资源,在图片资源加载成功后,通过回调方法绘制图片并添加到舞台 Laya.loader.load(this.monkey2,...

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

1347. laya.d3.core.material.Material_API3.0 [ 56%]

...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/material/Material" Material Class Material Material 类用于创建材质。 Hierarchy Resource Material PixelLineMaterial Unlit...

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

1348. Laya.Event.CLICK,第二次无法出发click事件 [ 56%]

Laya.Event.CLICK,第二次无法出发click事件 xxx.on(Laya.Event.CLICK, xxx, this.RecordA);这个放在第一次执行for循环里,第一次for循环时,click是可以进this.RecordA这个函数里,在第二次执行for循环,点击click就不能进this.RecordA这个函数里 2018-04-10 ...

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

1349. 附加脚本的使用问题 [ 56%]

附加脚本的使用问题 class ScaleButton {     constructor() {         console.log("加载ScaleButton");     }     private _owner: any;     public set owner(o: laya.display.Sprite) {         this._owner = o;         console.log("设置owner");     }     public get owner...

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

1350. 使用LayaNative构建Android Studio后,在Android Studio上运行出提示出错 [ 56%]

...     附件 : --> 2019-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 轨迹 相关问题 LayaAir3D UnityPlugin 使用须知-...

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