大约有 1,273 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0062 秒)
Laya_社区(723) Laya2.0_文档(155) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(24)
...men/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071...
来源: Laya2.0_文档 发布时间: 20210715
...th); emotionSwf.play(0,false); emotionSwf.playTo(0, emotionSwf.count, Laya.Handler.create(this,() => { emotionSwf.stop(); emotion.visible = false; })); 如上代码,发现调研play(0,false)后,动画还是一直循环播放,还是emotionSwf.count一直为0,导致播放完成的回调会...
来源: Laya_社区 发布时间: 20181029
...一个 Dialog 实例。 package { import laya.ui.Dialog; import laya.utils.Handler; public class Dialog_Example { private var dialog:Dialog_Instance; public function Dialog_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的...
来源: Laya3.0_api 发布时间: 20231115
...var resPath = ['res/atlas/comp.atlas']; Laya.loader.load(resPath, new Laya.Handler(this, function () { var textUi = new TextUI(); Laya.stage.addChild(textUi); }), null, Laya.Loader.ATLAS); } } new GameMain(); Test.zip 2018-08-10 0 1 分享 微博 QZONE 微信 Bert 赞同来自: 感觉很简单...
来源: Laya_社区 发布时间: 20180810
... 有没有克隆控件的方法,prefab能否在代码上调用 源代码中Handler中的setTo()方法 onOpen方法是位于哪个类下面? 问题状态 最新活动: 2018-04-11 15:29 浏览: 591 关注: 2 人
来源: Laya_社区 发布时间: 20180411
...次, 我用的Laya.SoundManager.playSound("res/sound/match.wav", 1, new Handler(this, this.onComplete)); version.json里配置是这样的: "res/sound/Match.wav":"res/sound/Match6888397f.wav" 2018-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180615
...乱 Native2.0正式版wss连接不成功web版本没问题,有DEMO Laya.Handler为什么注册不成功? 发布VIVO后,加载骨骼动画SK文件不成功,没有任何响应 spine 预加载怎么弄?用loadAni??? 2.1 spine 动画播放出现抖动的bug修复 发布不成功,无法...
来源: Laya_社区 发布时间: 20180126
...Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGLContext; import common.CameraMoveScript; import common.Tool; /** * ... * @author */ public class CustomMesh { public function CustomMesh() { Laya3D.init(0, 0, true); Lay...
来源: Laya_示例 发布时间: 20241001
...始时间无效 SoundManager.playMusic("res/music/shanghaitan.mp3", 1, new Handler(this, this.onMusicComplete),20); 播放音乐指定从20s开始,在android机器上运行正常在IOS上运行每次都是从开始播放 附件 : --> testMusic.zip 2019-06-05 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20190605
...缓存资源 通过 lh格式 生成的 Sprite3D, Laya.loader.create(_path, Handler.create(this,OnComplete),null,Sprite3D); 要怎么清理掉他的所有缓存资源? 附件 : --> 2018-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180517