大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...o.send = function (url, data, method, responseType, headers) { (method === void 0) && (method = "get"); (responseType === void 0) && (responseType = "text"); _super.prototype.send.call(this, url, data, method, responseType, headers); this._http.upload.onprogress = function (e) { } this._http.upload....
来源: Laya2.0_文档 发布时间: 20210714
...t.ERROR, this, this.errorHandler); private openHandler(event: any = null): void { //正确建立连接; this.gameInfo.info("Connected !"); // 显示已经连接 } 2018-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180510
...同来自: 正确的写法: override protected function _onEnable():void { for (var i = 0, n = this._controllerLayers.length; i < n; i++) { if (this._controllerLayers[i].playOnWake) { var controllerLayer = this._controllerLayers[i]; var curPlayState = controllerLayer._currentPlayState; if (c...
来源: Laya_社区 发布时间: 20190513
... = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void { 变成了Textrue2d了, 像以前1.x版本Textrue 还能用htmlcanvas,现在不能用了。而且直接强传入,会报错。 请问现在怎么样才能将htmlcanvas 的东西 显示在texture上? 附件已...
来源: Laya_社区 发布时间: 20190624
...ya.Loader.clearTextureRes(url); 比如这个页面的关闭 Close(): void { IconManager.Instance().clearTexture(this.leftverticaldrawing.skin);//清理某个动态贴图的资源(clearRes方法清理png) IconManager.Instance().clearTexture(this.rightvertica...
来源: Laya_社区 发布时间: 20200915
...ne.login.LoginScene,里面有一个方法 public function callback1(d:*):void,要调用这个分方法在JS里要怎么写, 是Laya.LoginScene.callback1(dataObj)这样吗? 2017-02-07 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 你这个问题再群里应该解决了,有问题再...
来源: Laya_社区 发布时间: 20170207
...de function addParticleArray(position:Float32Array, velocity:Float32Array):void { 中,把所有的参数放到一个数组中: var particleData:ParticleData = ParticleData.Create(settings, position, velocity, _currentTime); var startIndex:int = _firstFreeElement * _floatCo...
来源: Laya_社区 发布时间: 20190416
...//组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { //加载预制体文件 Laya.loader.load("resources/spine3.8/boy/spineboy-pma_bake.lh").then((res) => { // 创建预制体 let spineboy: Laya.Sprite = res.create(); // 获取Spine2DRenderNode组件 let spine2dRender...
来源: Laya3.0_文档 发布时间: 20251010
.../doSomething }; export interface ICommand{ excute(type:string, params:any):void; } } 2019-09-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 186*****180 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最...
来源: Laya_社区 发布时间: 20180918
...Laya; @regClass() export class StartScene extends Laya.Script { onAwake(): void { Laya.timer.once(1000, this, () => { Laya.loader.loadPackage("common", "http://127.0.0.1:2840", (p) => { console.log("common", p); }) }); } } 2024-11-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20241101