大约有 441 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(255) Laya2.0_api(57) laya_api(53) Laya2.0_文档(29) Laya3.0_文档(17) Laya2.0_示例(15) Laya_示例(13) Laya3.0_api(2)
...a.stage.addChild(this.btn) ; this.btn.size(25,25) ; this.btn.on(Laya.Event.CLICK, this, music.music_voice_toggle); 代码是这样的 , 图片上传不了,代码直接贴上来 2017-08-03 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 最好上传个能重现问题的Demo,只看代码...
来源: Laya_社区 发布时间: 20170803
...w Rectangle(-420,-680,420,680); mArmature.hitArea=rect; mArmature.on(Event.CLICK,this,onClick); 2016-11-22 0 0 分享 微博 QZONE 微信 asdf131 赞同来自: 于一个点为中心播放 : this.mArmature = this.mFactory.buildArmature(0); this.mArmatureSpr.addChild(this.mA...
来源: Laya_社区 发布时间: 20161122
...Controller() { Controller.super(this); this.btn.on(Event.CLICK,this,function(){ this.destroy(); }) } Laya.class(Controller, "Controller", stUI); 2018-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180831
...(root, 0); Laya.Physics.I.worldRoot = root; Laya.stage.on(Laya.Event.CLICK, this, () => { Laya.Physics.I.worldRoot.x -= 50; }); 设置worldRoot = 一个新的sprite后, 移动world root ,物理世界不会跟着一起移动 2018-11-26 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20181126
...错了?应该怎么用求教啊。。。。。 Laya.stage.on(Laya.Event.CLICK, this, function () { for (var i = 0; i < _outHitAllInfo.length; i++) { var name=_outHitAllInfo<em>.sprite3D.name; if(name=='ani...
来源: Laya_社区 发布时间: 20170927
...el.inspect(data, "SplitAtlasSetting"); this.contentPane = panel; panel.on("click_start_gen", this.startGen, this); } protected onShown() { (this.contentPane as IEditor.InspectorPanel).resetDefault(); this.title = "SplitAtlas"; this.setSize(450, 180); } } class SplitAtlasSetting { @IEditor.onLoad sta...
来源: Laya_社区 发布时间: 20250702
...歌浏览器运行的,没有调用test方法 Laya.stage.on(Event.RIGHT_CLICK,this,test) 2019-10-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 李友涛 赞同来自: 你好,问题解决了吗 2019-12-17 0 ...
来源: Laya_社区 发布时间: 20191023
...rt class PublicSpaceItem extends Laya.Box { public static BTN_ENTRER_CLICK:string = "BtnEnterClick"; public _publicSpaceData:datasheet.PublicSpaceData; private bg:Laya.Image; private btnEnter:Laya.Button; constructor() { super(); this.initUI(); } private...
来源: Laya_社区 发布时间: 20170923
...p(); } //点击标记文本 if (e.target.name == "flag" && e.type == Event.CLICK) this.onClickFlag(index); //点击删除文本 if (e.target.name == "del" && e.type == Event.CLICK) this.onClickDel(index); } itemOnMouseUp(){ //抬起鼠标时,处理正打开的单元格 if (this.itemIsOpen) { var t...
来源: Laya2.0_示例 发布时间: 20251130
...or() { trace("error"); } function parseComplete() { Laya.stage.on(Event.CLICK, this, () => { mArmature = Laya.Pool.getItemByClass('Skeleton', Laya.Skeleton); mArmature.init(mFactory, 1); mArmature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); mArmature.on(Eve...
来源: Laya_社区 发布时间: 20181120