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

大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0074 秒)

631. 三个图好像无法绑定不同的事件? [ 74%]

...题的!赏金给我吧 var img1:Sprite = new Sprite; img1.mouseThrough = true; img1.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png', 100, 100, 90, 90); Laya.stage.addChild(img1);   img1.on(Laya.Event.CLICK, this, function(name) { console.log(name); }, ['图1']);   var im...

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

632. 计时器-延迟调用 [ 74%]

...一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWrap = true; text.valign = "middle"; text.align = "center"; Laya.stage.addChild(text); } } new Timer_CallLater();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebG...

来源: Laya2.0_示例 发布时间: 20241001

633. List第二次选择问题 [ 74%]

List第二次选择问题 this.game_list.selectEnable = true;设置成可选后,会导致第二次选择时不会触发this.game_list.selectHandler;有解决方法吗 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

634. laya.d3.animation.AnimationClip_API3.0 [ 74%]

...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...

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

635. laya.d3.core.light.LightSprite_API3.0 [ 74%]

...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...

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

636. laya.d3.core.Camera [ 74%]

...createConchModel():*[override] BaseCamera destroy(destroyChild:Boolean = true):void[override] BaseCamera destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

637. laya.utils.Log [ 74%]

... Public Properties PropertyDefined By  autoScrollToBottom : Boolean = true[static] 是否自动滚动到底部,默认为trueLog  maxCount : int = 50[static] 最大打印数量,超过这个数量,则自动清理一次,默认为50次LogPublic Methods  MethodDefined By  clear():void[sta...

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

638. laya.device.media.Media [ 74%]

...媒体。 Parameters options:Object — 简单的可选项可以使{ audio:true, video:true }表示同时捕捉两者。详情见https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia。  onSuccess:Handler — 获取成功的处理器,唯一参数返回媒体的Blob地址,...

来源: laya_api 发布时间: 20170929

639. popup() 不能模态加载 [ 74%]

LayaAir引擎 popup() 不能模态加载 xx.popup(true);   1.能居中,但是不能模态加载  2.没有关闭其他窗口,可以加载多个窗口 这是多次点击注册的效果,加了一个随机数,后面都重叠在一起了   IDE版本是:1.7.8beta   另外下载老师的代...

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

640. laya.device.media.Media [ 74%]

...媒体。 Parameters options:Object — 简单的可选项可以使{ audio:true, video:true }表示同时捕捉两者。详情见https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia。  onSuccess:Handler — 获取成功的处理器,唯一参数返回媒体的Blob地址,...

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