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

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

191. disponedestory的区别 [ 66%]

...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.createnew Laya.Handler有啥区别 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? Laya的SceneView什么区别? ImageSprite在应用上的区别 VBOX HBOX 的文档...

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

192. 动画实例在调用含有名字参数的时候获取不到边界 [ 65%]

... i of this.playerUnit ){ i.loadAtlas("./character/m1.atlas",Laya.Handler.create(this,this.playerUnitLoaded)); } for(let i of this.enemyUnit){ i.loadAtlas("./character/m1.atlas",Laya.Handler.create(this,this.enemyUnitLoaded)); } } playerUnitLoaded(){ for(let i in this.playerUnit){...

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

193. 创建树Tree 该怎么回调mouseHandler 形参该传什么 [ 65%]

创建树Tree 该怎么回调mouseHandler 形参该传什么 附件 : --> 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: z298959 tree.mouseHandler=new Handler(this,onTreeHandle...

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

194. Effect材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 65%]

...地球贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` ![](img/1.gif)(图12)

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

195. var 与 name 的详细区别是什么? [ 65%]

... 用二的幂次方图集非二的幂次方图集区别在哪? Laya.Handler.createnew Laya.Handler有啥区别 微信小游戏绘制开放域内容,字体模糊是什么原因? 关于打包图集时的图片默认属性与repeat的区别 disponedestory的区别 viewDialog区别 atl...

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

196. Sprite3D的克隆(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 65%]

...ya.loader.create("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, this.onComplete)); } //完成回调 onComplete() { //获取资源 var layaMonkey = this.scene.addChild(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); //克隆sprite3d var layaMo...

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

197. 背景音乐音效有什么区别,调用的api不同 [ 65%]

...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.createnew Laya.Handler有啥区别 求教: soundManager如何停止正在播放的背景音乐 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? DialogView用destroyLaya.sta...

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

198. tween如何更改3d物体位置 [ 65%]

...ion;Laya.Tween.to(box.potOld,{     x:1     ,y:2     ,update:new Laya.Handler(box,function(){         this.transform.position = this.potOld;     }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){     console.log("complete"); }),ConstValue.animation...

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

199. 游戏系怎么把一些共用的功能独立出来 [ 65%]

..., type: Loader.ATLAS },         ];         Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this.onLoading, null, false)); 3、注入JSvar js:any = Laya.loader.getRes("res/atlas/choujiang.js"); Browser.window.eval(js); 4、运行JS var ChouJiang = Browser.win...

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

200. 分享:Dragonbones/Spine的换肤操作 [ 65%]

...head3.png 放置资源目录下 获取texture Laya.loader.load('head3.png',Handler.create(this,onTextureLoaded)); } private var texture:Texture; private function onTextureLoaded():void { texture=Loader.getRes('head3.png'); }整体代码如下package { import laya.ani.bone.Skeleton; import laya.ani.b...

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