大约有 532 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)
Laya_社区(457) Laya2.0_文档(36) Laya3.0_文档(12) Laya2.0_api(10) laya_api(8) Laya3.0_api(7) Laya2.0_示例(1) Laya_示例(1)
...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
...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
... 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
.../请求加载过程中触发的6个事件 urlLoader.addEventListener(Event.OPEN,openHandler); urlLoader.addEventListener(ProgressEvent.PROGRESS,progressEventHandler); urlLoader.addEventListener("complete",completeHandler); urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR,securityErrorHan...
来源: Laya_社区 发布时间: 20151217
... 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
... -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
...之后再开始着手分包,链接如下:[淘宝分包加载](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
...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
... 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
...seEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite open():void 打开颜色样本列表面板。 ColorPicker parentRepaint():voidcacheAs时,设置所有父对象缓存失效。 Sprite pivot(x:Number, y:Number):Sprite 设置轴心点。相当于分别设置pivotX和pivotY...
来源: laya_api 发布时间: 20170929