大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...数需要为true。 // let socket = new Laya.Socket("192.168.1.2", 8899, null, null, true); 2.1.2 connect 方法 先创建 Socket 对象,再调用 connect(host, port) 建立连接。 let socket = new Laya.Socket(); socket.connect("192.168.1.2", 8899); //如果需要wss安全协议,第3个参数...
来源: Laya3.0_文档 发布时间: 20251010
...ou are still trying to access it. Your script should either check if it is null or you should not destroy the object. MeshUitls.writeSkinnerMesh (UnityEngine.SkinnedMeshRenderer skinnedMeshRenderer, System.String meshName, System.IO.FileStream fs, System.Int32 MaxBoneCount) (at ./Library/PackageCach...
来源: Laya_社区 发布时间: 20240111
... Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1; // 设置主角的位置 this...
来源: Laya_社区 发布时间: 20170525
... I/0: connected type=1 I/ViewRootImpl: jank_removeInvalidNode jank list is null D/OpenGLRenderer: HWUI Binary is enabled disableOutlineDraw is true W/InputMethodManager: startInputReason = 5 W/cr_CrashFileManager: /data/user/0/com.layabox.test/cache/WebView/Crash Reports does not exist o...
来源: Laya_社区 发布时间: 20190723
...aphics.drawTexture(texture, 0, 0); }), null, Laya.Loader.IMAGE ); } // 可视化边界 private visualizeBoundaries() { const graphics = new Laya.Sprite(); this.owner.addChild(graphics); ...
来源: Laya_社区 发布时间: 20251125
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231102
...rial; var rotation = new Laya.Vector3(0, 0.01, 0); Laya.timer.frameLoop(1, null, function () { earth.transform.rotate(rotation, true); }); function initShader() { var attributeMap = { 'a_BoneIndices': Laya.VertexElementUsage.BLENDINDICES0, 'a_BoneWeights': Laya.VertexElementUsage.BLENDWEIGHT0, 'a_Po...
来源: Laya_示例 发布时间: 20260303
...5 1505-1538/? E/PackageManager.DexOptimizer: Well this is awkward; package null had UID -1 java.lang.Throwable at com.android.server.pm.PackageDexOptimizer.performDexOptLI(PackageDexOptimizer.java:149) at com.android.server.pm.PackageDexOptimizer.performDexOpt(PackageDe...
来源: Laya_社区 发布时间: 20181126
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231115
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231115