大约有 277 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(197) Laya2.0_文档(34) Laya3.0_api(16) Laya3.0_文档(11) Laya2.0_api(6) Laya_示例(6) laya_api(4) Laya2.0_示例(3)
...:8510001 * 2019-11-25 */ export default class FguiResMgr { private static _instance: FguiResMgr; public static get instance(): FguiResMgr { if (!this._instance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小越优先,最小为0 */ private priority: number =...
来源: Laya_社区 发布时间: 20191107
...类型有什么作用么 每个节点的类型有三种,mask,render,instance mask遮罩时候用,render我在list里面用了。instance是什么时候用的呢。 还有这个render都什么时候可以用的呢 2018-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180820
...er = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool = null; private targetsFilter: Laya.ColorFilter = null; private _persent: number = 0; protected constructor() { this.targets = new Array<Laya.Sprite>(); } /** * 实例 */ public static getInstance():...
来源: Laya_社区 发布时间: 20180930
...null的情况? 代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=new MapManager(); this.s_instance.init(); ...
来源: Laya_社区 发布时间: 20171124
...w window.WebAssembly.Module(data); let instance = new window.WebAssembly.Instance(module, imports); let ret = {}; ret["instance"] = instance; return ret; ...
来源: Laya_社区 发布时间: 20250626
...止的逻辑 console.log("onBlur"); SoundManager.Instance.pauseBGM(); // // 部分机型包内不生效 SoundManager.Instance.pauseAllEffects(); } private onFocus() { if (!SoundManager.isPlay) { SoundManager.isP...
来源: Laya_社区 发布时间: 20250930
陀螺仪接口问题 Laya.Gyroscope.instance.off(Laya.Event.CHANGE,this,this.test) 调用off方法但是没有生效 还是一直在走on方法去监听陀螺仪旋转 2018-01-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180127
...render.transform.worldMatrix, VPO); ShaderManager.Instance.SetShadowLightMatrix(render, mat); ShaderManager.Instance.SetShadowMapTexture(render, this.RenderTexture);//RenderTexture为阴影相机的renderTarget ShaderManager....
来源: Laya_社区 发布时间: 20200229
...es disableMouseEvent mouseDownTime mouseMoveAccuracy mouseX mouseY enabled instance multiTouchEnabled Methods check3DUI handleCapture handleExclusiveCapture releaseCapture runEvent setCapture Properties disableMouseEvent disableMouseEvent: boolean = false Defined in laya/events/MouseManager.ts:34 ...
来源: Laya3.0_api 发布时间: 20231102
...s "laya/device/motion/Gyroscope" Gyroscope Class Gyroscope 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提...
来源: Laya3.0_api 发布时间: 20231115