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

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

831. 获取动态更新的文本内容 [ 70%]

....create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eyeimf.txt", Laya.Handler.create(this, this.Onloaded), null, Laya.Loader.TEXT,0,true,null,true); //console.log(Laya.Loader.loadedMap); } 另外就是加载的时候,不缓存资源,就不能读取...

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

832. 求助keypress 和keydown事件为什么传递的keycode不一样的 [ 70%]

...问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 event自定义事件的问题 点击事件不起效 遮罩点击事件 为什么给Sprite容器添加点击事件没反应 图片添加点击事件 有的不生效 鼠标滚轮滚动事件 问题状态 最新活动: 2018-05-18...

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

833. 把 hr.http.timeout 设置后,如果超时没消息返回 [ 70%]

...1 个回复 Monica - 知识达人 赞同来自: 有错误的消息返回(Event.ERROR),没有超时的.... 2017-10-16 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 KGYGPS 相关问题 IOS系统内嵌H5游戏,退到后台,等几...

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

834. 关于list里注册事件和移除事件 [ 69%]

... btn: Laya.Button = cell.getChildByName("btn") as Laya.Button; btn.on(Laya.Event.CLICK, this, this.on_test); } 附件 : --> list.png 2018-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来...

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

835. 分享:截屏! [ 69%]

...截屏! package {     import laya.display.Sprite;     import laya.events.Event;     import laya.resource.HTMLCanvas;     import laya.resource.Texture;     import laya.utils.Browser;     import laya.webgl.WebGL;          public class LayaAirDemo {         private var s...

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

836. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 69%]

...eTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleto...

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

837. laya.ui.Label [ 69%]

... All Classes | Index | Frames No Frames LabelProperties | Methods | Events Packagelaya.uiClasspublic class LabelInheritanceLabel Component Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hid...

来源: laya_api 发布时间: 20170929

838. radioGroup设置labels后,每个radio的icon皮肤无法显示了 [ 69%]

... dialog.popup();          dialog.btn_question_dialog_next.on(Laya.Event.CLICK, this, onNext); dialog.radioGroup_question.labels = "如果资源未加载,则先加载资源,\n加载完成后应用于此对象。,"+"如果资源未加载,则先加载资源,\n加载完成后应用于此...

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

839. laya.d3.core.light.PointLight [ 69%]

... Classes | Index | Frames No Frames PointLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherit...

来源: laya_api 发布时间: 20170929

840. 关于button的click监听 [ 69%]

...tn.label="AAAAAA"; btn.pos(200,200); Laya.stage.addChild(btn); btn.on(Laya.Event.CLICK,this,()=>{console.log("click button");});   请问 这样监听不到button的点击事件吗?如果我创建一个ui.view  a  a.on 也监听不到吗 2017-11-28 添加评论 免费帖 --> 分享 微博 QZ...

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