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

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

1961. Vbox的问题 [ 53%]

...怎么不能排列 https://layaair.ldc.layabox.com/api/?category=UI&class=laya.ui.LayoutBox#changeItems() 父类重写sortitem方法 能实现你需求吗,有问题再反馈 2018-03-02 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

1962. 使用 addChild 加载界面后,绑定事件报错 [ 53%]

...载场景后报上面图片的错误 GameStart 类如下: export default class GameStart extends ui.GameStartUI {     constructor() {         super();          this.btnStart.on(Laya.Event.CLICK, this, this.startGame);     }      startGame(): void {         //L...

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

1963. 角色碰撞器(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 53%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.CharacterController))。 #### (1) 使用代码创建角色碰撞器 **插件目前暂不支持角色碰撞器导出,使用时需要使用代码创建。** 下面这段代码来自官方示例([demo...

来源: Laya2.0_文档 发布时间: 20210715

1964. laya.d3.core.Transform3D [ 53%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Transform3DProperties | Methods Packagelaya.d3.coreClasspublic class Transform3DInheritanceTransform3D EventDispatcher Object Transform3D 类用于实现3D变换。 Public Properties PropertyDefined By  dummy : Animat...

来源: laya_api 发布时间: 20170929

1965. laya.d3.math.OrientedBoundBox [ 53%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames OrientedBoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class OrientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By  extent...

来源: laya_api 发布时间: 20170929

1966. 两个移动的简单物体 onTriggerEnter 无法触发 (有悬赏) [ 53%]

...体移动时候重合但是无法触发onTriggerEnter,   export default class BulletControlTrigger extends Laya.Script3D { constructor(){ super(); }  /** * 开始触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other){ console.log("onTriggerEnter"); };  on...

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

1967. 脚本的事件(JavaScript-3D基础(JS)-LayaAir3D的脚本使用) [ 53%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.component.Script3D))。 关于脚本的添加使用这里不做过的讲解,在以往的示例中都有或多或少的使用脚本。关于脚本的官方示例([demo地址](https://layaair.ldc.layabox.com/d...

来源: Laya2.0_文档 发布时间: 20210714

1968. LayaAir3D导出scene 报错 [ 53%]

...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)   附件 : --> 2018-11-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...

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

1969. 续飞机大战 [ 53%]

...s.addChild(this.bg2); //创建一个帧循环,更新容器位置 }; Laya.class(BackGround,"BackGround",_super); return BackGround; }(Laya.Sprite));注意: 1、如果_super是传参过来的,直接写_super.call(this)即可,如果不是直接写BackGround.__super(this)即可,两种写法(...

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

1970. 如何判断一个3d模型是否在摄像机视野内 [ 53%]

...e;   using System.Collections;      [ExecuteInEditMode]   public class U01 : MonoBehaviour   {          private bool isRenderer = false;       private Renderer renderers;          void Awake ()       {           renderers = transform.Get...

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