• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 217 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)

41. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 66%]

...{ var str: string = "path" + i; this.path.push(((<MeshSprite3D>scene.getChildByName('Scenes').getChildByName('Area').getChildByName(str))).transform.localPosition); } } 四、角色移动 角色移动,实际上就是在间隔很短的时间内,改变角色的位置。在我们的示例中...

来源: Laya3.0_文档 发布时间: 20230303

42. 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 [ 65%]

...,发现你们这个编译器一个bug,不能实现负负得正 使用getChildByName()无法得到子节点对象 请问下loader如何强制加载一个文件,避免浏览器的缓存 问题状态 最新活动: 2018-08-22 14:20 浏览: 4504 关注: 15 人

来源: Laya_社区 发布时间: 20180729

43. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

...{ this._level = Math.round(Math.random() * 5) + 1; this._text = this.owner.getChildByName("levelTxt") as Laya.Text; this._text.text = this._level + ""; } //每帧更新时执行 onUpdate(): void { //让持续盒子旋转 (this.owner as Laya.Sprite).rotation++; } //开始碰撞时执行 onTriggerEnte...

来源: Laya3.0_文档 发布时间: 20251010

44. laya.ui.Panel [ 63%]

...erride] 根据子节点的索引位置,获取子节点对象。 Panel  getChildByName(name:String):Node[override] 根据子节点的名字,获取子节点对象。 Panel  getChildIndex(child:Node):int[override] 根据子节点对象,获取子节点的索引位置。 Panel getComponent(cla...

来源: Laya2.0_api 发布时间: 20190513

45. laya.d3.core.Camera_API3.0 [ 59%]

...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

46. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 59%]

...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

47. laya.ui.ComboBox [ 59%]

...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例...

来源: Laya2.0_api 发布时间: 20190513

48. laya.ui.Panel [ 58%]

...erride] 根据子节点的索引位置,获取子节点对象。 Panel  getChildByName(name:String):Node[override] 根据子节点的名字,获取子节点对象。 Panel  getChildIndex(child:Node):int[override] 根据子节点对象,获取子节点的索引位置。 Panel getGraphicBounds...

来源: laya_api 发布时间: 20170929

49. laya.ui.ComboBox [ 58%]

...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getGraphicBounds(realSize:Boolean = false...

来源: laya_api 发布时间: 20170929

50. laya.d3.webxr.core.WebXRCamera_API3.0 [ 58%]

...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