大约有 520 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? Laya的Scene和View什么区别? Image和Sprite在应用上的区别 VBOX HBOX 的文档...
来源: Laya_社区 发布时间: 20180123
... 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
创建树Tree 该怎么回调mouseHandler 形参该传什么 附件 : --> 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: z298959 tree.mouseHandler=new Handler(this,onTreeHandle...
来源: Laya_社区 发布时间: 20170626
...地球贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图12)
来源: Laya2.0_文档 发布时间: 20210714
... 用二的幂次方图集和非二的幂次方图集区别在哪? Laya.Handler.create和new Laya.Handler有啥区别 微信小游戏绘制开放域内容,字体模糊是什么原因? 关于打包图集时的图片默认属性与repeat的区别 dispone和destory的区别 view和Dialog区别 atl...
来源: Laya_社区 发布时间: 20161202
...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
...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 求教: soundManager如何停止正在播放的背景音乐 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? Dialog和View用destroy和Laya.sta...
来源: Laya_社区 发布时间: 20170106
...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
..., 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
...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