大约有 3,520 项符合查询结果, 库内数据总量为 30,789 项。 (搜索耗时: 0.0082 秒)
Laya_社区(2614) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya_示例(83) Laya3.0_文档(75) Laya2.0_示例(45)
... "target": "es6", "noEmitHelpers": false, "sourceMap": true, "removeComments": true, "baseUrl": ".", "paths": { "tslib": [ "D:/Programs/LayaAirIDE/resources/app/node_modules/tslib/tslib.d.ts" ] }, ...
来源: Laya_社区 发布时间: 20200409
... extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary...
来源: Laya_社区 发布时间: 20170714
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
... box.hitArea = area; box.mouseEnabled = true; box.on("click", this, onBoxClick); //绘制黑色区域,不被抠图 var black:Sprite = new Sprite(); black.grap...
来源: Laya_社区 发布时间: 20161122
...y:100, scaleX:1, scaleY:1, alpha:1}, 2000, null, 0); this.timeLine.play(0, true); this.timeLine.on(Event.COMPLETE, this, this.onComplete); this.timeLine.on(Event.LABEL, this, this.onLabel); } onComplete() { console.log("timeLine complete!!!!"); } onLabel(label) { console.log("LabelName:" + label); }...
来源: Laya2.0_示例 发布时间: 20241128
...c stopSound Properties Static autoReleaseSound autoReleaseSound: boolean = true Defined in laya/media/SoundManager.ts:90 音效播放后自动删除。 default true Static musicVolume musicVolume: number = 1 Defined in laya/media/SoundManager.ts:25 背景音乐音量。 default 1 Static playbackRate...
来源: Laya3.0_api 发布时间: 20231115
... //打开调试面板(IDE设置调试模式,或者url地址增加debug=true参数,均可打开调试面板) if (GameConfig.debug || Utils.getQueryString("debug") == "true") Laya.enableDebugPanel(); if (GameConfig.stat) Stat.show(); Laya.alertGlobalError = true; //激活资源版本控制,...
来源: Laya2.0_文档 发布时间: 20210714
...this.htmlvideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture;...
来源: Laya_社区 发布时间: 20240305
... extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary...
来源: Laya_社区 发布时间: 20190224
...tion : "点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以直接this._data = {}; this._data = IEditor.DataWatcher.watch({}); //inspect可以多次调用,将多个数据组合在一个面板编辑 this._panel.inspect...
来源: Laya3.0_文档 发布时间: 20241014