大约有 1,241 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)
射线检测报错,outHitInfo.sprite3D=null; 代码: class SceneScript extends Laya.Script{ private ray : Laya.Ray; private hit: Laya.RaycastHit; private phasorSprite3D:Laya.PhasorSpriter3D; private camera : Laya.Camera; private scene: Laya.Scene; public _load(owner : any):void{ this.scene ...
来源: Laya_社区 发布时间: 20181020
实体组件系统(ECS)1、基础概念1.1 什么是ECS1.2 LayaAir的实体1.3 LayaAir的组件与系统1.4 什么是生命周期方法1.5 什么是事件方法2、组件脚本的内置方法2.1 组件的生命周期方法2.2 组件的事件方法3、组件在IDE的暴露方式四、代码中...
来源: Laya3.0_文档 发布时间: 20251010
...e标志 关于下面的其它问题: 序列帧指的动画组件 Laya.FrameAnimation -> offset 关于生命周期的使用问题(难道是我的用法不对?我们之前使用的是godot, 组件都是所有子ready,父才ready) 下面附件demo是音频和我们生命周期使用的示例 LayaAir...
来源: Laya_社区 发布时间: 20250609
...var Stat = Laya.Stat; var Tween = Laya.Tween; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionIndex = 0; var mCurrIndex = 0; var mArmature; var mCurrSkinIndex = 0; var mFactory2; var mLabelSprite; (function(){ Laya.init(Browser.width, Browser.heig...
来源: Laya_示例 发布时间: 20251130
...成负数 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 如何获取一个3D模型的长宽高? 打包android版本 点击返回键会提示“再次点击后退键退出游戏”,如果去掉...
来源: Laya_社区 发布时间: 20250819
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/IndexBuffer3D" IndexBuffer3D Class IndexBuffer3D 请使用LayaGL.RenderOBJCreate.createIndexBuffer3D来创建 IndexBuff...
来源: Laya3.0_api 发布时间: 20231115
...); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes6/alien.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error")...
来源: Laya2.0_示例 发布时间: 20251130
新手入坑请教下各位大神关于LayaMaxUI问题 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { ex...
来源: Laya_社区 发布时间: 20190402
...完后的回调时间 unity中的模型导出后在laya中显示不正常 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 关于apk打包动画卡的问题 3D模型tween旋转 为什么ani动画执行的不是按中心点执行的 3d 添加灯光 模型变的黑...
来源: Laya_社区 发布时间: 20180408
3D Animation 动画衔接之间的问题 2、动画a 和 动画b 之间,怎么做过渡,不可能硬切散。请给个解决方案? 2018-04-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞...
来源: Laya_社区 发布时间: 20180419