大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
发布微信小游戏 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
...为了方便统一协议的定义。现在将每个协议都写成了一个class.在传递消息的时候怎么把协议对象转成json?在接收消息的时候又怎么把json转成对象 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180305
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
... 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
...Menu Globals "laya/d3/physics/constraints/FixedConstraint" FixedConstraint Class FixedConstraint Hierarchy ConstraintComponent FixedConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath Accessors anchor appliedImpulse...
来源: Laya3.0_api 发布时间: 20231115
...一个类实现IResourceLoader接口,例如一个最简单的实现: class MyLoader { load(task:ILoadTask) { return task.loader.fetch(task.url, "json", task.createCallback()).then(data=> { let obj = /*解析data*/; return obj; }); } } 加载类里不需要考虑是单独加载,还是是批...
来源: Laya3.0_文档 发布时间: 20250217
... Globals "laya/d3/physics/PhysicsTriggerComponent" PhysicsTriggerComponent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _si...
来源: Laya3.0_api 发布时间: 20231115
...ction, _quaternion, _direction); directionLight.direction = _direction; });class DirectionLightDemo { private scene: Laya.Scene; private _quaternion: Laya.Quaternion; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE...
来源: Laya_示例 发布时间: 20250223
...。下面给出一个示例代码,实现脚本控制Label: const { regClass, property } = Laya; @regClass() export class LabelControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.Label } ) public lab: Laya.Label; constructor() { super(); } /** * 组件被激活...
来源: Laya3.0_文档 发布时间: 20240910
...要添加如下的示例代码,实现脚本控制CheckBox: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.CheckBox }) public checkbox: Laya.CheckBox; //组件被激活后执行,此时所有节点和组件均已创建完毕...
来源: Laya3.0_文档 发布时间: 20240910