大约有 569 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)
Laya_社区(381) Laya2.0_api(59) laya_api(55) Laya2.0_文档(29) Laya2.0_示例(16) Laya3.0_文档(13) Laya_示例(13) Laya3.0_api(3)
...no) * 99.5, 73); flower.mouseEnabled=true; flower.alpha=1; flower.on(Event.CLICK,this,function() { flower.scaleX=1.1; flower.scaleY=1.1; Laya.timer.once(100, this,function() { flower.scaleX=1; flower.scaleY=1; alert("My Name is Bear" + no); return; }) }); mallLayer._childs[0].addChild(flower); } 201...
来源: Laya_社区 发布时间: 20170110
...or3(0, 1, 0); ``` ```typescript //点击事件 changeActionButton.on(Event.CLICK, this, function():void{ index++; if (index % 3 === 1 ){ //摄像机捕捉模型目标 camera.transform.lookAt(box.transform.position, _up); } else if (index % 3 === 2){ //摄像机捕捉模型目标 camera.transform.loo...
来源: Laya2.0_文档 发布时间: 20210714
...00,100,"#FFFF00"); Laya.stage.addChild(sp); sp.size(1000,100); sp.on(Event.CLICK,this,onClick); } private function onClick():void { Browser.window.location.href="https://www.baidu.com"; } 2016-12-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...
来源: Laya_社区 发布时间: 20161215
...0); ``` ```typescript //点击事件 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ this.index++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.transform.position, this._up); } else if (this.index % 3 === 2){ //摄像机捕捉模型...
来源: Laya2.0_文档 发布时间: 20210715
...0); ``` ```typescript //点击事件 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ this.index++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.transform.position, this._up); } else if (this.index % 3 === 2){ //摄像机捕捉模型...
来源: Laya2.0_文档 发布时间: 20210715
....ani"); lose1.x=150; lose1.y=400; lose1.size(100,300); lose1.on(Laya.Event.CLICK,this.listP,this.play1); lose1.name="lose1"; this.listP.addChild(lose1); play1():void { console.log("111"); this.lose1.play(); //this._childs[5].play(); } 2017-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20171025
...下,== Chuan • 2018-03-24 14:57 已解决: if (e.type == Laya.Event.CLICK) { if (e.target.name == "arrow") { //Tree的开/关,当打开一个时,另一个关闭 var item:Cell = e.target.parent as Cell; if (item.dataSource.isOpen == true) { if (this.selectedIndex == -1) { this.sel...
来源: Laya_社区 发布时间: 20171011
...微博 QZONE 微信 之肖 赞同来自: 试试this.vertify1.on(Laya.Event.CLICK,this,this._onInputVerify,[1) 2022-02-22 0 1 分享 微博 QZONE 微信 凱文 赞同来自: 幫推個幫推個 2022-03-01 0 0 分享 微博 QZONE 微信 Laya_Yan 赞同来自: 提供示例看一下 2022-03-01 0 0 分享...
来源: Laya_社区 发布时间: 20220222
...00; txt.height = 100; txt.x = 200; txt.y = 100; txt.fontSize = 50; txt.on("click", this, onFunc); Laya.stage.addChild(txt); } private function onFunc(e:Event):void { var arr:Array = e.touches; console.log("e.touchId="+e.touchId); console.log("arr[0]"+arr[0]); } } } 输出为: 不明白t...
来源: Laya_社区 发布时间: 20170519
...有什么办法? Laya.Sprite loadImage 参数问题 laya.sprite 不接受click事件 问题状态 最新活动: 2018-01-16 11:04 浏览: 1340 关注: 2 人 Monica • 2018-01-16 11:20 是的
来源: Laya_社区 发布时间: 20180116