大约有 239 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0041 秒)
Laya_社区(175) Laya2.0_api(35) Laya3.0_api(8) Laya3.0_文档(6) laya_api(5) Laya_示例(5) Laya2.0_文档(4) Laya2.0_示例(1)
...源添加进scene中还需要回调吗? 例如: var effect3D=scene.addChild(Laya.loader.getRes("LayaScene_effect/effect.lh")); effect3D.once( Event.LOADED , this,function(sprite){ var child=effect3D.getChildAt(0); } ); sfsmmc • 2017-08-21 15:53 我试过,在loader.create预加载...
来源: Laya_社区 发布时间: 20170821
...操作 _disObj3d = Sprite3D.load("../../res/models/cike.lh"); _scene3d.addChild(_disObj3d); _disObj3d.once(Event.HIERARCHY_LOADED, null, function(sender:Sprite3D):void { var ms:MeshSprite3D = _disObj3d.getChildByName("mod_CiKeZhuangBei_Body_03") as MeshSprite3D; if(ms) {...
来源: Laya_社区 发布时间: 20170101
.... 勾选预烘焙骨骼后提示 Animator must have SkinnedMeshRenderer as Child ! 请问这个应该要怎样处理 (没有勾选预烘焙骨骼)报错 KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key...
来源: Laya_社区 发布时间: 20200818
...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) 2018-10-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ༺永洹༻ ...
来源: Laya_社区 发布时间: 20180819
...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes,...
来源: Laya_社区 发布时间: 20180308
...gClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报错 Main.js:61 Uncaught ReferenceError: ui is not defined 之前有人提过这个问题,但是一直都没有解答,也有人说要先注册class,但是也是没用的。...
来源: Laya_社区 发布时间: 20210111
...创建项目的demo中就可以看到,如TestPage.ui为 "type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png", .............. 所有内容全部在一行内,如果用diff看文件新旧版本差异,基本没法看 4. 很多编辑器都是有个组件面板,与资源面板独立...
来源: Laya_社区 发布时间: 20160823
...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes,...
来源: Laya_社区 发布时间: 20171108
...里: var dialog = new QuestionDialogUI(); Laya.stage.addChild(dialog); dialog.popup(); dialog.btn_question_dialog_next.on(Laya.Event.CLICK, this, onNext); dialog.radioGroup_question.labels = "如果资源未加载,则先加载资源,\n加载...
来源: Laya_社区 发布时间: 20180718
...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此对象使用了scr...
来源: laya_api 发布时间: 20170929