大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0074 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
播放粒子没反应 使用unity导出粒子this.parAni = this.path2.getChildByName("anjian").getChildByName("huang").particleSystem;然后使用this.parAni.play();播放没有效果 2019-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190103
... 提交 2 个回复 AiLiner 赞同来自: 知道问题了 加载的时候 this.tiledMap.createMap("../laya/assets/map/orthogonal-test-movelayer.json", new Rectangle(0, 0, 5000, 5000),new Laya.Handler(this,this.finishLoadMap)); Rectangle设置太小,分开加载了,加载会从下开始加...
来源: Laya_社区 发布时间: 20180326
... Laya.loader.create(_path, Handler.create(this,OnComplete,null),null,null,null,1,true,groupName); }else{ var item:Sprite3D = Pool.getItem(_path); ...
来源: Laya_社区 发布时间: 20180601
...ite(); sp2.x = 100; sp2.loadImage('bet/cheer_1_4.png'); sp1.addChild(sp2); this.addChild(sp1); const htmlCanvas = sp1.drawToCanvas(640, 200, 0, 0); const canvas = htmlCanvas.getCanvas(); trace(canvas.toDataURL('image/png')); const texture = new Laya.Texture(htmlCanvas); const sp = new Sprite(); sp.g...
来源: Laya_社区 发布时间: 20171018
...后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIncludingGravity....
来源: Laya_社区 发布时间: 20180322
... 注册的触发器事件为什么没反应? ape.on( Event.TRIGGER_STAY, this, TRIGGER_STAY1); ape.on(Event.TRIGGER_ENTER, this, TRIGGER_ENTER1); ape.on(Event.TRIGGER_EXIT, this, TRIGGER_EXIT1); 鼠标拖拽一个Sprite 到 另外一个 Sprite 上,注册的上面3个事件都...
来源: Laya_社区 发布时间: 20190202
... LM20081991 • 2018-01-25 10:10 能否举一个例子,比如我现在是 this.skill = new Laya.Animation(); this.skill.play(); 就是播放技能的动画。是this.skill.interva()这样吗, 中间有没有什么参数?
来源: Laya_社区 发布时间: 20180125
...检测,这么写运行就提示没有该方法 Laya.Physics.rayCastAll(this.ray, this.outHitAllInfo, 30, 0); RaycastHit 是在创建是时候就报错了 提示没有这个东西。 看官方网站介绍,该勾选的类库我都勾选了,运行还是不行。 2018-12-19 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20181219
...params = ["move"]; test_e.time = 0.2; let test_cp:Laya.AnimationClip = this._ani.getDefaultState().clip; test_cp.addEvent(test_e); test_cp.on("move_over",this,this.test_over); 预想是播放到0.2秒就会发送"move_over",但事实好像不是这样的,那么怎么监听 通过addEvent...
来源: Laya_社区 发布时间: 20190813
...运行效果与调试效果不一致(sprite,child) Laya.timer.frameLoop(1,this,this.run()); public run():void{ var childs:Array<Laya.Sprite> = this._childs; childs.sort(this.sortHandler); } public sortHandler(left:Laya.Sprite,right:Laya.Sprite):number{ return left.y-right.y; } ...
来源: Laya_社区 发布时间: 20180228