大约有 212 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0039 秒)
...中的角色移动碰撞区模型 var moveArea = this.scene.getChildAt(0).getChildByName("MoveArea"); //设置为不渲染 moveArea.meshRender.enable = false; //加载网格碰撞器组件 var sprite3d1MeshCollider=moveArea.addComponent(Laya.MeshCollider); //官方js例子里少了下面这行 sprit...
来源: Laya_社区 发布时间: 20180118
...码 吴杨俊文 • 2018-07-13 11:50 行,我去试试,在问下,用getchildbyname,可以获得unity里面(lh)的子对象吗 吴杨俊文 • 2018-07-13 17:31 不知道为什么打字会出问题
来源: Laya_社区 发布时间: 20180712
...3d射线碰撞和UI点击穿透的问题 3D模型无法修改scale? 使用getChildByName()无法得到子节点对象 微信小游戏与加载图片时不会触发erroe事件 问题状态 最新活动: 2020-07-29 17:26 浏览: 625 关注: 3 人 夜未央 • 2020-09-27 16:32 人用的触发检...
来源: Laya_社区 发布时间: 20200728
...致的编译错误 TypeScript下HttpRequest发送Post请求有Bug? 使用getChildByName()无法得到子节点对象 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 3D模型tween旋转 怎么获取对象的坐标 问题状态 最新活动: 2017-08-28 16:02 浏览: 1045 关注: 2...
来源: Laya_社区 发布时间: 20170814
...3d射线碰撞和UI点击穿透的问题 3D模型无法修改scale? 使用getChildByName()无法得到子节点对象 微信小游戏与加载图片时不会触发erroe事件 问题状态 最新活动: 2020-07-28 17:25 浏览: 677 关注: 5 人 zzhh9857 • 2020-07-28 16:53 只设置了一个也...
来源: Laya_社区 发布时间: 20200728
...load(owner : any):void{ this.scene = owner; this.camera = this.scene.scene.getChildByName("Main Camera") as Laya.Camera; console.log("当前摄像机的名字是:" + this.camera.name); } public _start(state:Laya.RenderState):void{ this.ray = new Laya.Ray(Laya.Vector3.ZERO,Laya.Vector3.ZERO); thi...
来源: Laya_社区 发布时间: 20181020
...er.parent as Laya.Scene3D; this._text = this._scene.parent.getChildByName("ceshi") as Laya.Text; this._camera = this._scene.getChildByName("camera") as Laya.Camera; } onUpdate(){ var touchCount = this._scene.input.touchCount(); if (1 === touchCount){ ...
来源: Laya_社区 发布时间: 20190605
...出时会在角色外包裹一层sprite3D) this.roleModel = this.owner.getChildByName("girl1") as Laya.Sprite3D; //模型缩放 this.roleModel.transform.localScale = new Laya.Vector3(0.8,0.8,0.8); //获取角色动画组件 this.roleAni = this.roleModel.getComponentByType(Laya.Animator) as Laya.An...
来源: Laya_社区 发布时间: 20171113
...l,具有代码提示效果。而script脚本获取只能通过this.owner.getChildByName("xxx") 等方式获取节点** - **建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用runtime继承式写法,如果是独立小模块,功能单一,建议用script脚本...
来源: Laya2.0_文档 发布时间: 20210715
...ToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTes...
来源: Laya3.0_api 发布时间: 20231102