大约有 201 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya3.0_api(79) Laya_社区(67) Laya2.0_文档(17) Laya2.0_api(15) laya_api(14) Laya3.0_文档(5) Laya_示例(4)
...分享使用protobuff框架的游戏demo(TS版本或AS版本的) 使用getChildByName()无法得到子节点对象 LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 unity 粒子特效 laya插件有问题? ...
来源: Laya_社区 发布时间: 20180103
...染吗? Image元件读不了资料流 3D模型无法修改scale? 使用getChildByName()无法得到子节点对象 问题状态 最新活动: 2019-07-17 09:46 浏览: 2550 关注: 2 人 星夜 • 2019-07-17 13:55 1.并非概念不清楚, 同在世界坐标系下的第一层级子节点, 世...
来源: Laya_社区 发布时间: 20190717
...n(scene) { Laya.stage.addChild(scene); //获取cube对象 var cube = scene.getChildByName("Cube") as Laya.Sprite3D; //添加组件(脚本) var _script = cube.addComponent(SceneScript) as SceneScript; //label用于显示 var _lab = new Laya.Label(); _lab.text = "test"; _lab.height = 100; _lab.width =...
来源: Laya2.0_文档 发布时间: 20210715
...ographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderCo...
来源: Laya3.0_api 发布时间: 20231115
...e.addChild(scene) as Scene3D; //获取cube对象 var cube:Sprite3D = scene.getChildByName("Cube"); //添加组件(脚本) var _script:SceneScript = cube.addComponent(SceneScript); //label用于显示 var _lab:Label = new Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize...
来源: Laya2.0_文档 发布时间: 20210715
...ographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderCo...
来源: Laya3.0_api 发布时间: 20231115
...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例...
来源: Laya2.0_api 发布时间: 20190513
...e.ls")) as Laya.Scene3D; //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere") as Laya.MeshSprite3D; //获取球型精灵自带的BlinnPhong材质 this.billinMaterial = this.sphere.meshRenderer.material; ``` > 拿到材质之后,我们可以修改材质或者将这个材质给...
来源: Laya2.0_文档 发布时间: 20210715
...自动生成了? 发布到vivo平台后,龙骨动画无法显示 使用getChildByName()无法得到子节点对象 分享:LayaAir下如何获取图集下的小图资源? 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? Laya["MiniAdpter"].nativ...
来源: Laya_社区 发布时间: 20230412
...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例...
来源: Laya2.0_api 发布时间: 20190513