• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 532 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)

481. Laya.Socket 是不是不支持Safari浏览器二进制格式的数据传输? [ 44%]

...this.socket.connectByUrl("ws://localhost:8989"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private ope...

来源: Laya_社区 发布时间: 20171129

482. laya.ui.View_API3.0 [ 44%]

...ller on onAfterDeserialize onAwake onClosed onDestroy onDisable onEnable onOpened once open parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anc...

来源: Laya3.0_api 发布时间: 20231115

483. 1.76beta引擎库的BUG:Laya.List动态载入后,滑动时会将list框本身的滑动区域一并向滑动方向移动,会出现点击list中空白区域就无法滑动的情况 [ 43%]

... 200;         this.list.scrollBar.elasticDistance = 200;     }     open(): void     {         for(let i = 0; i< 50; i++)         {             this.test.push(i);         }         this.list.array = this.test;     }     onItemRender(item: Item_List, index: numbe...

来源: Laya_社区 发布时间: 20170614

484. 求HTTP相关的文档或者例子谢谢了 [ 43%]

.../请求加载过程中触发的6个事件 urlLoader.addEventListener(Event.OPEN,openHandler); urlLoader.addEventListener(ProgressEvent.PROGRESS,progressEventHandler); urlLoader.addEventListener("complete",completeHandler); urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR,securityErrorHan...

来源: Laya_社区 发布时间: 20151217

485. 预制体模块 · LayaAir3.0文档 · LAYABOX [ 42%]

... Laya.timer.once(1000, this, () => { //跳转到入口场景 Laya.Scene.open("Scenes/Index.ls"); //不要使用Laya.Scene.open("./Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 *...

来源: Laya3.0_文档 发布时间: 20240106

486. layabox7.1.17 beta ios打包后编译失败 [ 42%]

... -framework AVFoundation -weak_framework UIKit -framework GLKit -framework OpenGLES -framework OpenAL -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Intermediates.noindex/ykmj.build/Debug-iphoneos/ykmj...

来源: Laya_社区 发布时间: 20180322

487. 淘宝创意互动分包指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 42%]

...之后再开始着手分包,链接如下:[淘宝分包加载](https://open.taobao.com/docV3.htm?spm=a219a.7386797.0.0.7f6c669aQkYiVg&source=search&docId=119146&docType=1#ss2) ## 二、分包的使用方法 ### 1 IDE中的准备 #### 1.1 页面分包 在进行页面分包的时候,我们需要...

来源: Laya2.0_文档 发布时间: 20210715

488. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 42%]

...an = Byte.LITTLE_ENDIAN;//这里我们采用小端; this.socket.on(Event.OPEN,this,openHandler); this.socket.on(Event.MESSAGE,this,receiveHandler); this.socket.on(Event.CLOSE,this,closeHandler); this.socket.on(Event.ERROR,this,errorHandler); } public function connect():void { if(!this.socket.conne...

来源: Laya_社区 发布时间: 20180202

489. socket无法连接服务器 [ 42%]

...      private initSocket(): void {             this.on(Laya.Event.OPEN, this, this.onConected);             this.on(Laya.Event.ERROR, this, this.onError);         }         public conectToServer(): void { //“连接”按钮的回调             if (this.connected) retu...

来源: Laya_社区 发布时间: 20170602

490. laya.ui.ColorPicker [ 42%]

...seEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite  open():void 打开颜色样本列表面板。 ColorPicker parentRepaint():voidcacheAs时,设置所有父对象缓存失效。 Sprite pivot(x:Number, y:Number):Sprite 设置轴心点。相当于分别设置pivotX和pivotY...

来源: laya_api 发布时间: 20170929