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

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

21. 怎么给List下的每个item中的button添加事件? [ 63%]

...12 17:22 var btns = new Array; this.btnBox = new Laya.Sprite(); Laya.stage.addChild(this.btnBox); for(var i = 0; i < 5; i++){ var btn = new Laya.Sprite(); btn.loadImage("Key.jpg",i*100,800,100,60); btn.id= i; btns.push(btn); this.btnBox.addChild(btn); console.log(btn.id); } for(var i = ...

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

22. laya.d3.core.light.PointLight_API3.0 [ 63%]

...tion shadowStrength 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

23. laya.d3.core.BaseCamera_API3.0 [ 63%]

...nderer timer transform url Methods _initialize _processActive addAllLayers addChild addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent...

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

24. laya.d3.core.light.SpotLight_API3.0 [ 62%]

...wStrength spotAngle 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

25. laya.d3.core.RenderableSprite3D_API3.0 [ 62%]

...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

26. 射线BUG [ 62%]

...t(); this.phasorSpriter3D = new Laya.PhasorSpriter3D(); this.camera = this.addChild(new Laya.Camera(0, 0.1, 100)); this.camera.transform.translate(new Laya.Vector3(0, 1, 3)); //camera.addComponent(CameraMoveScript); this.camera.clearColor = null; } Laya.class(MousePickingScene, "MousePickingScene", ...

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

27. laya.d3.core.light.DirectionLight_API3.0 [ 62%]

...dowTwoCascadeSplits 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

28. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 61%]

... parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCom...

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

29. Slider控件的标签不居中 [ 61%]

...on showValueText():void { if (showLabel) { var label:Label = Slider.label; addChild(label); label.textField.changeText(_value + ""); if (isVertical) { label.x = _bar._x + 20; label.y = (_bar.height - label.height) * 0.5 + _bar._y; } else { label.y = _bar._y - 20; label.x = (_bar.width - label.width)...

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

30. LayoutBox不按顺序输出列表 [ 61%]

...pTimes; i++) { var someText = new Laya.Label(); someText.text = i; oneVBox.addChild(someText); } 如代码,当loopTimes<=10的时候他如我所愿按顺序出现在页面上 当loopTimes>10时,居然顺序就错了,这个问题困扰了我非常非常久,HBox同理   但如果我覆...

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