大约有 641 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(176) Laya_社区(166) Laya2.0_api(99) laya_api(85) Laya2.0_文档(70) Laya3.0_文档(29) Laya2.0_示例(9) Laya_示例(7)
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 LayaAir 2.1.0beta报错! 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 LayaAir 2.0 TS版编译出错GameConfig...
来源: Laya_社区 发布时间: 20170215
...时,完成初始化。 import { extendLib } from "./extlib"; const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({type: Laya.Button}) public initBtn: Laya.Button; onEnable(): void { this.initBtn.on(Laya.Event.CLICK, this.onInit); } onInit() { ale...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames SpotLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object SpotLight 类用于创建聚光...
来源: laya_api 发布时间: 20170929
...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.CharacterController))。 #### (1) 使用代码创建角色碰撞器 **插件目前暂不支持角色碰撞器导出,使用时需要使用代码创建。** 下面这段代码来自官方示例([demo...
来源: Laya2.0_文档 发布时间: 20210715
...址](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
... 支持 加载下一个场景的同时执行异步方法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this._loadSc...
来源: Laya_社区 发布时间: 20181124
API DocumentationAll Packages | All Classes | Index | Frames No Frames GlitterProperties | Methods | Events | Constants Packagelaya.d3.core.glitterClasspublic class GlitterInheritanceGlitter RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object Glitter 类用于创建闪...
来源: laya_api 发布时间: 20170929
...nals Only exported Menu Globals "laya/d3/core/light/PointLight" PointLight Class PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color ...
来源: Laya3.0_api 发布时间: 20231115
...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.CharacterController))。 #### (1) 使用代码创建角色碰撞器 **插件目前暂不支持角色碰撞器导出,使用时需要使用代码创建。** 下面这段代码来自官方示例([demo...
来源: Laya2.0_文档 发布时间: 20210714
API DocumentationAll Packages | All Classes | Index | Frames No Frames Particle3DProperties | Methods | Events | Constants Packagelaya.d3.core.particleClasspublic class Particle3DInheritanceParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object Particle3D 3D粒子。 Public Pr...
来源: laya_api 发布时间: 20170603