大约有 1,285 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
Laya_社区(916) Laya2.0_文档(155) Laya3.0_文档(93) Laya3.0_api(61) Laya2.0_api(31) laya_api(26) Laya2.0_示例(2) Laya_示例(1)
...图3-5所示,我们希望把Title预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); ...
来源: Laya3.0_文档 发布时间: 20241014
...部分的颜色问题 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 如何通过命令行工具构建和发布项目 Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 关于发布oppo、vivo快游戏,无法生成Rpk问题 重力感...
来源: Laya_社区 发布时间: 20180306
...的。 用代码实现的效果如动图5所示: (图5) **示例代码:** ```typescript class PanelTest { constructor() { //初始化引擎 Laya.init(800, 600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded)); } private on...
来源: Laya2.0_文档 发布时间: 20210715
...图3-5所示,我们希望把Title预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); ...
来源: Laya3.0_文档 发布时间: 20251105
...在最底部显示? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 关于Laya实现Matter.js官方案例凹多边形的问题 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 骨骼动画播放完后的回调时间 ...
来源: Laya_社区 发布时间: 20171120
...供一下,我们一起看下是哪里的问题。 下面粘贴一个小示例(仅供参考)package { import flash.display.Loader; import flash.display.MovieClip; import flash.display.Sprite; import flash.events.Event; import flash.net.URLRequest; import flash.system.ApplicationDomain; import f...
来源: Laya_社区 发布时间: 20151224
...t attach to main target 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 runtime运行报...
来源: Laya_社区 发布时间: 20180205
...APP打开加载速度过慢,有黑屏,如何加入闪屏图片 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2018-06-20 21:05 浏览: 767 关注: 2 人 LWG • 2018-06-20 21:20 那可能是我的json出错了吗.. Laya_Aaron • 2018-06-20 21:28 看你这个 是atlas...
来源: Laya_社区 发布时间: 20180620
...nt.CLOSE:连接关闭时触发。 Event.ERROR:连接出错时触发。 示例代码: // 注册事件监听示例 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.socket.on(Laya.Event.CLOSE, this, this.onSocketClose...
来源: Laya3.0_文档 发布时间: 20251010
...么使用matter.js?比如matter.js需要手工加入吗?直接copy官方示例,设置好图片资源路径,提示Engine dont defined,为什么? 2017-05-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 c...
来源: Laya_社区 发布时间: 20170511