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

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

21. laya.d3.core.light.LightSprite_API3.0 [ 72%]

...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...

来源: Laya3.0_api 发布时间: 20231115

22. laya.components.Script [ 72%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 此方法为虚方法,使用时重写覆盖即可 Script  onMouseDown(e:Event):void 鼠标按下时执行 此方法为虚方法,使用时重写覆盖即可 Script  onMouseMove(e:Event):void 鼠标...

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

23. 角色控制器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 72%]

...件并赋值给 characterController this.characterController = this.owner.getComponent(Laya.CharacterController); //设置出生点位置 this.characterController.position = new Laya.Vector3(0, 0, 0); } } 4.2 角色移动 move() 角色移动用于通过指定移动向量来移动角色。 在代码...

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

24. laya.d3.core.light.PointLight_API3.0 [ 72%]

...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...

来源: Laya3.0_api 发布时间: 20231115

25. 2D灯光与网格 · LayaAir3.4 · 引擎文档 · LAYABOX [ 72%]

...此方法只执行一次 onAwake(): void { this.light1Render = this.light1.getComponent(Laya.FreeformLight2D); this.mesh1Render = this.mesh1.getComponent(Laya.Mesh2DRender); this.mesh2Render = this.mesh2.getComponent(Laya.Mesh2DRender); //设置mesh1位于0层(Default层) this.mesh1Render.layer ...

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

26. laya.d3.core.BaseCamera_API3.0 [ 71%]

...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt removeChildByName removeChildre...

来源: Laya3.0_api 发布时间: 20231115

27. laya.d3.core.light.SpotLight_API3.0 [ 71%]

...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...

来源: Laya3.0_api 发布时间: 20231115

28. laya.display.Node [ 71%]

...ode):int 根据子节点对象,获取子节点的索引位置。 Node  getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node  getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node hasListener(type:String):Boolean 检查 EventDispatcher 对...

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

29. laya.d3.core.RenderableSprite3D_API3.0 [ 71%]

...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...

来源: Laya3.0_api 发布时间: 20231115

30. [LayaAir3]3.2.7 版本 Animator的play 方法,定义了开始位置,但动画首次播放不对位置不对 [ 71%]

...位置,但动画首次播放不对位置不对 :   this.关联绑定2.getComponent(Laya.Animator).play("Animation",0,0.14); this.关联绑定2.getComponent(Laya.Animator).speed = 1;  附件中 两张,分别为第一次运行项目动画的开始位置,另一张为刷新页面运行项目动...

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