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

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

401. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 76%]

...c var socket:Socket=null; private var list:Array=; public function Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.on(Event.CLOSE, this, onSocketClose); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Event.ERROR, this, onConnectError); ...

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

402. laya.d3.core.light.PointLight_API3.0 [ 76%]

...Sprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepth...

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

403. l龙骨动画内存上升 [ 76%]

...             /**播放龙骨动画          * @param    url  动画的路径           * @param    dragronX  动画显示x坐标          * @param    dragronY  动画显示y坐标          * @param    parent  龙骨动画父容器          * @p...

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

404. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 76%]

.../主域往子域透传消息 __JS__('wx').postMessage({type:"resizeShared",url:"",data:{width:Laya.stage.width,height:Laya.stage.height,matrix:Laya.stage._canvasTransform},isLoad:false}); }); } //激活资源版本控制 beginLoad(); } private function beginLoad():void { //加载引擎需要的资...

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

405. 打包百度小游戏不能播放声音?是api不支持 还是发生了改变 或者格式问题? [ 76%]

...改  if (Browser.onMiniGame){ console.log(1); tSound=Laya.loader.getRes(url); } if (!soundClass)soundClass=SoundManager._soundClass; if (!tSound){ console.log(2); tSound=new soundClass(); tSound.load(url); if (Browser.onMiniGame){ Loader.cacheRes(url,tSound); } }; 2个if判断去掉“!”...

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

406. 关于LAYADCC关于热更新问题。真心希望解决!! [ 76%]

...过审?? 这个不能写灵活点吗?? 这个请求资源地址的URL,可以我们开发者自定义下,如果域名换了,我们通过其他比如PHP重新获取URL,就可以又自动更新了,而不需要重新打包了。   我看了其他几个引擎,都没这样直接写...

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

407. HttpRequest在网页上和APP上表现不一致 [ 76%]

HttpRequest在网页上和APP上表现不一致 let url = "http://10.1.1.123:9090/pgame/s ... 3B%3B Laya.timer.loop(30000, this, ()=>{     let hr = new Laya.HttpRequest();     hr.http.timeout = 3000;     hr.http.ontimeout = function(){console.log("http timeout test: timeout")};     hr.on...

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

408. laya.d3.core.BaseCamera_API3.0 [ 76%]

...mera Index Constructors constructor Properties _extra _forward _scene _up _url name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT Accessors active activeInHierarchy clearColor components cullingMask destroyed displayedInStage farPlane fieldOfV...

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

409. laya.d3.core.light.SpotLight_API3.0 [ 76%]

...tSprite SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepth...

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

410. laya.display.Node_API3.0 [ 76%]

...e Sprite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addCompon...

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