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

大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)

1011. 3d坐标 转2d坐标 报错 我的 版本 是mac 和版本有关系么 [ 66%]

...ers/yons/Documents/myLaya/demopos/bin/libs/laya.core.js:22073:12)     at EventHandler.__proto.run (/Users/yons/Documents/myLaya/demopos/bin/libs/laya.core.js:1393:27)     at SceneLoader.__proto.event (/Users/yons/Documents/myLaya/demopos/bin/libs/laya.core.js:1164:53)     at SceneLoader.__prot...

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

1012. 单机游戏如何监听网络是否连接 [ 66%]

...了不进行消息通信,当网断的时候是不是会触发 socket.on(Event.CLOSE, this, onSocketClose);在onSocketClose函数里处理执行逻辑对吧? 问题二:因为对H5不是很了解,想问问有没有像APP一样,直接关闭的语句,比如NativeApplication.nativeApplication...

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

1013. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 66%]

...Verify that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)  MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not dest...

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

1014. 导出的3D资源加载报错 [ 66%]

...s.Handler;          import laya.display.Stage;     import laya.events.Event;     import laya.utils.Stat;          public class LayaSample {                  private var _stateMachine:StateMachine;         public function LayaSample()         { ...

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

1015. 生成微信小游戏时各种"undefined"(已解决) [ 65%]

...的环境是TypeScript) * 各种"undefined",比如matter undefined, Common,Events undefined等等 * 其实主要原因在于  1. laya会根据index.html顺序把各种js写入code.js  2. matter.js在生成code.js后他定义的var Matter并不是全局的,因此导致后面需要调用Matter的地...

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

1016. laya.ui.Widget [ 65%]

... _onEnable():void[override] Widget  _onParentResize():void 父容器的 Event.RESIZE 事件侦听处理函数。 WidgetPublic Constants ConstantDefined By  EMPTY : Widget[static] 一个已初始化的 Widget 实例。WidgetProperty Detailbottompropertybottom:Number表示距底边的距离(...

来源: Laya2.0_api 发布时间: 20190513

1017. js中使用sharedMesh报错 [ 65%]

...file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12657:28) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:709:27) at ResInfo.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:479:28) at LoaderManager.__proto._end...

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

1018. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 65%]

...           Laya.stage.addChild(imag);             imag.on(Event.MOUSE_DOWN,this,onDown);             imag.on(Event.MOUSE_UP,this,onUP);         }                  private function onDown():void{             imag.startDrag();         }    ...

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

1019. worker.js 使用问题 [ 65%]

...a.dataType || data.dataType !="imageBitmap"){             this.event(data.url,null);             return;         };         var bitmap;         var imageData=data.imageBitmap;         if (Render.isWebGL){             /*__JS__ */bitm...

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

1020. 打包app,http无法设置content-type [ 65%]

...gt;, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'pos...

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