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

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

1671. 动态添加addComponent(Laya.RigidBody)的问题 [ 57%]

...s.owner.removeSelf()后会抛错 : laya.core.js:13190 Uncaught 无法实例class RigidBody extends Laya.Component {... 2.但如果将Laya.RigidBody组件直接挂在预制体上,用this.owner.getComponent(Laya.RigidBody)设置后,在调用  this.owner.removeSelf()则不会抛错。   附件 : -...

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

1672. LayaNative 0.9.6启动时报错 [ 57%]

LayaNative 0.9.6启动时报错 Rejecting re-init on previously-failed class java.lang.Class<vp>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse; 2019-07-22 18:03:33.840 27966-27966/com.lovegame.hk.hokbok I/art:     at void com.android.webview.ch...

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

1673. DOM元素-表单输入 [ 57%]

...orm, 100, i * (this.rowSpacing + this.rowHeight), 150, this.rowHeight); } }class DOM_Form{ private form:Laya.Sprite; private rowHeight:number = 30; private rowSpacing:number = 10; constructor() { Laya.init(600,400); Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MI...

来源: Laya_示例 发布时间: 20251209

1674. js如何回调As3里的方法 [ 57%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name load 加载完图集 回调函数可以传形参吗? Laya.Media方法调用失败 问题状态 最新活动: 2018-05-11 15:27 浏览: 784 关注: 2 人

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

1675. laya.d3.math.Quaternion_API3.0 [ 57%]

... Externals Only exported Menu Globals "laya/d3/math/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchR...

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

1676. laya.d3.core.light.SpotLightCom_API3.0 [ 57%]

... Only exported Menu Globals "laya/d3/core/light/SpotLightCom" SpotLightCom Class SpotLightCom SpotLight 类用于创建聚光。 Hierarchy Light SpotLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id...

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

1677. 发布微信小游戏 cannot invoke without new [ 57%]

发布微信小游戏 cannot invoke without new Class constructor Component cannot be invoked without 'new'     at new Widget (laya.ui.js? [sm]:139)   附件 : --> 2020-02-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...

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

1678. Ts中对象和json字符串怎么互相转换 [ 57%]

...为了方便统一协议的定义。现在将每个协议都写成了一个class.在传递消息的时候怎么把协议对象转成json?在接收消息的时候又怎么把json转成对象 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

1679. laya.d3.core.RenderableSprite3D [ 57%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderableSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class RenderableSprite3DInheritanceRenderableSprite3D Sprite3D Node EventDispatcher ObjectSubclasses MeshSprite3D, PixelLineSprite3D, ShuriK...

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

1680. 设置滑动条长度不生效 [ 57%]

... qian 赞同来自: http://layaair.ldc.layabox.com/api/?category=Core&class=laya.ui.ScrollBar#setScroll() 你看一下api 2018-01-22 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 RayFor24 相关问题 使用钢体设置防穿后仍...

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