大约有 7 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
LayaAir引擎 View.regComponent("ScaleButton",component.ScaleButton);//注册组件 我跟帖子做自定义组件 https://ldc.layabox.com/doc/?nav=zh-ts-2-2-3 不知道在哪里注册组件,现在运行起来是报“can not create:ScaleButton” 大概是因为我没有注册的缘故,但...
来源: Laya_社区 发布时间: 20170817
...照官方的说法 对于使用websocket的客户端SDK来说,使用了component进行管理,因此只需要配置一个component.json文件,里面配置相应的依赖,然后运行 我们应该只需要引用编译后的build.js就可以使用pomelo的调用了,结果实际引用build.js...
来源: Laya_社区 发布时间: 20180109
...认为是这样的:这个pixelLineRenderer是个组件内容,继承自Component。在Component里面就有onUpdate函数周期的,就是会每帧调用呢。生命周期也不是脚本组件独有的,脚本组件重点在组件Component。之所以在编辑器内不预览的时候都能调...
来源: Laya_社区 发布时间: 20231209
...ONE 微信 雷雨田 赞同来自: HierarchyParser.js:375 Error: missing component type 'ShurikenParticleRenderer' (in Sparkles) at HierarchyParser.parse (HierarchyParser.js:287:37) at PrefabImpl.create (PrefabImpl.js:18:28) atParticle_EternalLight.ts:38:44 Uncaught (in promise) TypeError: Cann...
来源: Laya_社区 发布时间: 20250731
...法。即每次setupScript都注册一次相关节点回调。 希望在Component.protype._destroy方法中,在回收Script组件之前,增加对当前owner的监听移除,即增加this.owner.offAllCaller(this); 附件 : --> 2025-07-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20250715
...n this; }; //可以用style样式来控制各种控件的字体设置 Laya.Component.prototype["textFormatObj"] = null;//给Component基类定义一个textFormatObj属性 //Label字体样式处理 Laya["getset"](false, Laya.Label.prototype, "fontStyle", function () { return this["textFormatObj"]; },...
来源: Laya_社区 发布时间: 20171226
....GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite) LayaExport.DataManager.getComponentsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject...
来源: Laya_社区 发布时间: 20170428