大约有 319 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0052 秒)
Laya_社区(156) Laya2.0_文档(59) Laya_示例(24) Laya3.0_api(21) Laya3.0_文档(19) Laya2.0_api(19) laya_api(18) Laya2.0_示例(3)
...skinnedMeshRenderer timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...
来源: Laya3.0_api 发布时间: 20231115
...trailFilter trailRenderer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent ge...
来源: Laya3.0_api 发布时间: 20231115
...; var sp:Sprite = new Sprite(); sp.loadImage(data,0,0,200,200); Laya.stage.addChild(sp); } } } ``` 通过data来当做url传递给loadImage这个方法引擎就会帮我们加载并解码显示出来。loadImage这个方法中的参数不仅仅接收地址形式的url还接受base64和svg的格式...
来源: Laya2.0_文档 发布时间: 20210715
...,非必现。 //播开始动画 var kaishi = new StartAnimView(); this.addChild(kaishi); kaishi.playAnim(); this.anim_array.push(kaishi); Laya.timer.once(1700, this, function () { kaishi.onDestroy(); kaishi.destroy(true); 两个脚本是相互独立的。 2020-01-13 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20200113
...法然后同步执行 private function loadComplete2():void { Laya.stage.addChild(view); for(var i:int=1;i<=7;i++) { var tempItem:ItemUi=new ItemUi() Laya.stage.addChild(tempItem); tempItem.x=i*100; tempItem.y=200; tempItem.setAnimated(true); arr.push(tempItem); // this.playAni(tempItem,new Point...
来源: Laya_社区 发布时间: 20180524
...SkinnedMeshRenderer timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...
来源: Laya3.0_api 发布时间: 20231115
...匿名用户 • 2017-03-27 13:14 var Text = new HTMLDivElement(); barWrap.addChild(Text); Text.color = "#fff"; Text.style.fontSize = 24; Text.innerHTML = "子弹命中率:<span style='color: #ee452c'>50</span>\/100 50%"; Text.pos(480, 20); 我 innerHTML 里的内...
来源: Laya_社区 发布时间: 20170324
...击事件 Laya.stage.once(Laya.Event.MOUSE_DOWN,this,function () { scene.addChild(layaMonkey); this._layaMonkey = layaMonkey; //设置缩放 var tmpLocalScale = layaMonkey.transform.localScale; tmpLocalScale.setValue(0.3, 0.3, 0.3); layaMonkey.transform.localScale = tmpLocalScale; /*添加部分*/ _...
来源: Laya2.0_文档 发布时间: 20210715
...击事件 Laya.stage.once(Laya.Event.MOUSE_DOWN,this,function () { scene.addChild(layaMonkey); this._layaMonkey = layaMonkey; //设置缩放 var tmpLocalScale = layaMonkey.transform.localScale; tmpLocalScale.setValue(0.3, 0.3, 0.3); layaMonkey.transform.localScale = tmpLocalScale; /*添加部分*/ _...
来源: Laya2.0_文档 发布时间: 20210715
...ildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...
来源: Laya3.0_api 发布时间: 20231115