大约有 49 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0031 秒)
...tionClip 实例。 AnimationClip load(url:String):AnimationClip[static] 加载动画模板。 AnimationClip onAsynLoaded(url:String, data:*, params:Array):void[override] private AnimationClipProtected Methods MethodDefined By detoryResource():void[override] 销毁资源,override it,同...
来源: laya_api 发布时间: 20170929
2.0引擎开发者使用3.0的差异汇总1、LayaAir3.0 Loader修改1.1加载一个资源1.2 加载多个资源(用数组)1.3 加载多个文件(组合)1.5 加载HTMLImage1.6 使用Options。1.7 预制体/场景的问题1.8 旧版本引擎load和create的兼容性问题1.9扩展Loader能...
来源: Laya3.0_文档 发布时间: 20251010
...时长。 AnimationClip load(url:String, complete:Handler):void[static] 加载动画片段。 AnimationClipProtected Methods MethodDefined By _disposeResource():void[override] AnimationClipProperty Detailisloopingpropertypublic var islooping:Boolean是否循环。Constructor DetailAnimationC...
来源: Laya2.0_api 发布时间: 20190513
请教——layabox如何加载多个图集 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onload)); 这样写只能添加一个图集,我想问有没有办法用一句代码同时添加其他图集 2018-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180809
加载界面1.进度条控制2.进度条控制实例3.去掉所有文字显示4.自定义界面和功能5.特别说明加载界面 为了方便开发者,自定义LoadingView,LayaNative使用原生功能实现的新的LoadingView。 应用程序在启动的时候,需要加载必要的html、js...
来源: Laya3.0_文档 发布时间: 20251010
...bsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya/resource/Resource.ts:151 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以...
来源: Laya3.0_api 发布时间: 20231115
...代码中使用2.1 场景类2.2 打开场景2.3 关闭场景2.4 场景的加载页面2.5 销毁和垃圾回收场景的管理 LayaAir3.0继续延用2.0开发思路为组件化,脚本化,场景管理开发,项目采用Scene管理方式,来管理场景,LayaAir 已经对Scene做了一系列...
来源: Laya3.0_文档 发布时间: 20251010
... (动图2-4) 三、代码中Spine动画 在代码中使用时,首先加载Spine动画资源,然后添加spine组件。 代码示例: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite }) public sprite: Laya.Sprite; pr...
来源: Laya3.0_文档 发布时间: 20250104
...信小游戏兼容性bug 部分机型load场景不显示 image loadimage 加载网络图片BUG 关于2D物理碰撞无法触发OnTriggerEnter、OnTriggerStay、OnTriggerExit的bug 问题状态 最新活动: 2019-03-03 16:58 浏览: 4562 关注: 4 人 @_@ • 2019-01-16 19:21 我也遇到这个问题...
来源: Laya_社区 发布时间: 20181019
...private mArmature: Laya.Skeleton; onStart() { console.log("Game start"); //加载内置骨骼动画资源 Laya.loader.load("skeleton/Dragon/Dragon.sk").then((templet: Laya.Templet) => { //创建模式为1,可以启用换装 this.mArmature = templet.buildArmature(0); this.mArmature.x = 300; this...
来源: Laya3.0_文档 发布时间: 20251010