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

大约有 1,273 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0062 秒)

791. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 58%]

...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

792. 关于movieClip播放swf的问题 [ 58%]

...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

793. laya.ui.Dialog_API3.0 [ 58%]

...一个 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

794. 这样的panel请问如何实现比较好? [ 58%]

...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

795. LoaderManager的load方法入参中的priority效果有问题 [ 58%]

... 有没有克隆控件的方法,prefab能否在代码上调用 源代码中Handler中的setTo()方法 onOpen方法是位于哪个类下面? 问题状态 最新活动: 2018-04-11 15:29 浏览: 591 关注: 2 人

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

796. soundmananger会重复加载音效好多次 [ 58%]

...次, 我用的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

797. replaceSlotSkinName对于spine换肤不成功 [ 58%]

...乱 Native2.0正式版wss连接不成功web版本没问题,有DEMO Laya.Handler为什么注册不成功? 发布VIVO后,加载骨骼动画SK文件不成功,没有任何响应 spine 预加载怎么弄?用loadAni??? 2.1 spine 动画播放出现抖动的bug修复 发布不成功,无法...

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

798. Mesh网格-自定义网格 [ 58%]

...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

799. ios下 SoundManager.playMusic 指定开始时间无效 [ 58%]

...始时间无效 SoundManager.playMusic("res/music/shanghaitan.mp3", 1, new Handler(this, this.onMusicComplete),20); 播放音乐指定从20s开始,在android机器上运行正常在IOS上运行每次都是从开始播放 附件 : --> testMusic.zip 2019-06-05 添加评论 免费帖 --> 分享 微...

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

800. 怎么清理掉 Sprite3D 相关的缓存资源 [ 58%]

...缓存资源 通过 lh格式 生成的 Sprite3D, Laya.loader.create(_path, Handler.create(this,OnComplete),null,Sprite3D); 要怎么清理掉他的所有缓存资源? 附件 : --> 2018-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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