大约有 49 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0031 秒)
...赞同来自: LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 Laya.loader:加载管理器 Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 2017-12-13 0 0 分享 微博 QZONE 微信 Lay...
来源: Laya_社区 发布时间: 20171213
...*****745:你的代码不给我讲我很难找到你说的这段,stage 是单例,你销毁地图,不影响stage的监听,off可以关闭事件监听, 你想输出几就可以做,我猜测你想要的效果是 第一个场景点击输出1 换场景输出2.这个需要移除之前的监听...
来源: Laya_社区 发布时间: 20180605
...default class GameUI extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = false; //加载场景文件 this.loadScene("test/TestScene.scene"); } onE...
来源: Laya_社区 发布时间: 20190730
...enders/Render" Render Class Render Render 是渲染管理类。它是一个单例,可以使用 Laya.render 访问。 Hierarchy Render Index Constructors constructor Properties _Render _customRequestAnimationFrame _loopFunction is3DMode Accessors canvas context customRenderEngine Methods initRender...
来源: Laya3.0_api 发布时间: 20231115
...ative ios上js访问不到JSBridge类中的方法,请求官方帮助, as 单例类的方法 赋值问题 JS如何调用经过转换的FLASH游戏里的方法? websocket 中 protobuf 数据的发送与接收的具体方法是怎样的? Tween的to方法完成缓动后的回调怎么写,Tween.t...
来源: Laya_社区 发布时间: 20181110
...rty } = Laya; @regClass() export class Main extends Laya.Script { // 设置单例 static instance: Main; constructor() { super(); Main.instance = this; } @property({type:Laya.Sprite3D}) private target: Laya.Sprite3D; @property({type:Laya.UI3D}) private ui3d: Laya.UI3D; public animator: Laya.Animator...
来源: Laya3.0_文档 发布时间: 20250214
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator.ts:95 裁剪模式 owner owner: Node Inherited from C...
来源: Laya3.0_api 发布时间: 20231102
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Componen...
来源: Laya3.0_api 发布时间: 20231115
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator/Animator.ts:78 裁剪模式 owner owner: Node Inherit...
来源: Laya3.0_api 发布时间: 20231115
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean I...
来源: Laya3.0_api 发布时间: 20231115