大约有 1,061 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0064 秒)
...报错this.zombieAnimator.on is not a function 创建官方示例3D Laya.Sprite3D.load("res/threeDimen/skinModel/Zombie/Zombie.lh", Laya.Handler.create(this, function(zombie:Laya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Laya.Sprite3D).getComponent(Laya....
来源: Laya_社区 发布时间: 20190507
...何加点击事件 ui list 里面的元素不能点击两次 如何设置Sprite的宽高和点击区域? 关于遍历产生的sprite的点击事件,急,大神帮看哈 求指点3d射线碰撞和UI点击穿透的问题 分享一个TS版本的3D2D结合的单机斗地主Demo 问题状态 最新...
来源: Laya_社区 发布时间: 20170926
... 提交 1 个回复 Laya_Aaron 赞同来自: package { import laya.display.Sprite; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; public class Main { public function Main() { //初始化引擎 Laya.init(500,500);//初始化引擎 var skins:Array = [ "res/button-1.png" ]...
来源: Laya_社区 发布时间: 20180529
...的说明 游戏运行在chrome里面 听不见声音 关于遍历产生的sprite的点击事件,急,大神帮看哈 LayaFlash:求ByteArray.jas ->readMultiByte对gb2312的实现翻译 救命!canvas定位后 点击区域偏移,求大大们解答 如何设置Sprite的宽高和点击区域...
来源: Laya_社区 发布时间: 20170412
...e3D)导出的时候被转换导出了。这种纹理需要采用预设(Sprite3D)分别导出,单独加载使用。 #### 2.2.2 LayaAirIDE纹理压缩功能 LayaAirIDE中依次点击 菜单 ->> 工具 ->> 纹理图片转换,可以打开图3所示界面。  (图3) 由于...
来源: Laya2.0_文档 发布时间: 20210714
...以的。附上代码,麻烦大神看看,谢谢了var spr:laya.display.Sprite = new laya.display.Sprite(); spr.texture = tx; Laya.stage.addChild(spr); spr.x = 300; spr.y = 100; var color:Array = ; color.push( 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 1, 0); var filter:ColorFilt...
来源: Laya_社区 发布时间: 20170825
...,页面不显示,导致其他碰撞体也不显示 this.sp = new Laya.Sprite(); let rb = this.sp.addComponent(Laya.RigidBody); let polygonCollider4 = this.sp.addComponent(Laya.PolygonCollider); polygonCollider4.points = "429,1094,433,1094,440,1094,442,1094,446,1094,448,1094,450,1094,454,1094";...
来源: Laya_社区 发布时间: 20221124
Laya2.0版本linkSprite3DToAvatarNode无法正常使用了,因为新插件导出的动画没有avatar文件了,导致挂载不上 __proto._isLinkSpriteToAnimationNode=function(sprite,nodeName,isLink){ if (this._avatar){ 这一步必须要有 avatar 文件,但是用新...
来源: Laya_社区 发布时间: 20191011
...答 求指点3d射线碰撞和UI点击穿透的问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 如何设置Sprite的宽高和点击区域? ui list 里面的元素不能点击两次 一个时间轴动画里创建的多个动画,怎么分别调用?如图 写了一个小...
来源: Laya_社区 发布时间: 20170531
...thographic = true; camera.orthographicVerticalSize = 5; this.effRes = Laya.Sprite3D.load(resUrl); this.effRes.on(Laya.Event.HIERARCHY_LOADED, this, function(){ this.eff1 = scene.addChild( Laya.Sprite3D.instantiate(this.effRes)); this.eff1.transform.position = new Laya.Vector3(0,0,50); this.eff1.tran...
来源: Laya_社区 发布时间: 20180503