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

大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)

1681. 苹果iOS审核被拒Guideline 4.3 - Design [ 78%]

...nt or language, which is considered a form of spam. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. Next Steps - Review the Design section of the App Store Review Guidelines. - Ensure your app i...

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

1682. Animation创建和销毁的问题 [ 78%]

... Laya.init(1136, 640,WebGL); trace("ok..."); Laya.stage.on(Event.KEY_DOWN, this, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyCode === Keyboard.SPACE) { //移除动画 if(testAnim1) { testAnim1.clear(); testAnim1.removeSelf(); testAnim1 = null; tes...

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

1683. laya.utils.Handler [ 78%]

...ropertyDefined By  args : Array 参数。Handler  caller : * 执行域(this)。Handler  method : Function 处理方法。Handler  once : Boolean = false 表示是否只执行一次。如果为true,回调后执行recover()进行回收,回收后会被再利用,默认为false 。HandlerPu...

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

1684. tween 函数的单次执行任务数量问题 [ 78%]

...leX": 0,              // "scaleY": 0 },550,null,Handler.create(this,this.skillEffecting)); 如代码所示,如果写了四个需要变化的属性,前两个不会执行,只有后面的会执行。 分两个tween 写也是这样,是有什么不对的么?还是单次只能写2个...

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

1685. Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 [ 78%]

..._PreloadUrl._list.texture.brushworkCommon.texture, pointArr[index].x -  this.DrawControl.radius.value / 2, pointArr[index].y - this.DrawControl.radius.value / 2,  this.DrawControl.radius.value, this.DrawControl.radius.value, null, 1, color, null);                   ...

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

1686. ☆☆☆☆☆☆☆☆☆☆☆每增加一个 view 都会增加一个 drawcall 吗 ☆☆☆☆☆☆☆☆☆☆☆ [ 78%]

...gs/img_10103.png"; fish.scoreItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox().x - fish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.s...

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

1687. Sprite3D添加组件或脚本(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 78%]

...yaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector...

来源: Laya2.0_文档 发布时间: 20210715

1688. 在add panel 后设置 hScrollBar.value 没有用 [ 78%]

...的链接 提交 1 个回复 Nevermore 赞同来自: Laya.stage.addChild(this);             console.log("addd 33");                         this.alpha = 0;             Laya.Tween.to(this,{alpha:1},200);             self.panel_room.hScrollBa...

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

1689. 物理碰撞脚本和触发器脚本(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 78%]

...相对移动速度过快,可能直接越过 */ onTriggerEnter(other) { this.owner.meshRenderer.sharedMaterial.albedoColor = new Laya.Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进入绑定物体碰撞器后逐帧触发(子弹在物品内时) * 注:如相对移动速度过快,...

来源: Laya2.0_文档 发布时间: 20210715

1690. Laya IDE横竖屏切换时,不断刷新 [ 78%]

... = 'horizontal'; Laya.loader.load(['res/atlas/view.atlas'], Handler.create(this, initGame)); Laya.timer.frameOnce(1, this, function () { Laya.stage.on(Event.RESIZE, this, function () { window.location.reload(); }) }) 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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