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

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

351. socket无法连接服务器 [ 56%]

...文本后就没反应了,客户端也没有触发onConected或者_onOpen函数,下面是服务器打印的文本   等待连接... 接收到一个连接:127.0.0.1 收到的字符串是:GET / HTTP/1.1 Host: 127.0.0.1:8080 Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Upgrade: ...

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

352. laya.ui.VBox_API3.0 [ 56%]

...启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void dataSource get dataSource(): any set dataSource(value: any): void Inherited from UIComponent.dataSource Defined in laya/ui/UIComponent.ts:134 implements 数据赋值,通过...

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

353. laya.ui.HBox_API3.0 [ 56%]

...启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void dataSource get dataSource(): any set dataSource(value: any): void Inherited from UIComponent.dataSource Defined in laya/ui/UIComponent.ts:134 implements 数据赋值,通过...

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

354. laya.d3.component.animation.UVAnimations [ 55%]

...画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D templet : AnimationTemplet 获取动画模板。 KeyframeAnimations url : String[write-only] 设置url地址。 KeyframeAnimationsProtected Properties Hide Inherited Protected Properties Show Inherited Pr...

来源: laya_api 发布时间: 20170603

355. AS项目怎么使用类成员变量 [ 55%]

... 微信 ljy328803417 赞同来自: 是 Protobuff.load 加载完成的回调函数中使用成员变量就会报错 2017-09-27 0 0 分享 微博 QZONE 微信 ljy328803417 赞同来自: 测试demo已上传,麻烦看看 MyLayaProtoBuff.rar 2017-09-27 0 0 分享 微博 QZONE 微信 为什么被折叠?...

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

356. 求解:2D项目中加载View,Laya.Scene.load应该如何使用? [ 55%]

...,loadScene是在自己的runtime中加载;而Scene.load是通过回调函数获取它的实例对象,再将它添add到场景中。是这个意思吧?

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

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

...是会触发 socket.on(Event.CLOSE, this, onSocketClose);在onSocketClose函数里处理执行逻辑对吧? 问题二:因为对H5不是很了解,想问问有没有像APP一样,直接关闭的语句,比如NativeApplication.nativeApplication.exit(); 现在知道了,触发后自己写就行...

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

358. laya.media.VideoNode_API3.0 [ 55%]

...启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean dis...

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

359. laya.ui.ColorPicker_API3.0 [ 55%]

...is, onChangeColor,[colorPicket]);//设置 colorPicket 的颜色改变回调函数。 Laya.stage.addChild(colorPicket);//将此 colorPicket 对象添加到显示列表。 } private function onChangeColor(colorPicket:ColorPicker):void { trace("当前选择的颜色: " + colorPicket.selectedColor); }...

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

360. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 55%]

...- 32 * 2 - 32 * parseInt(10 * Math.random()); //创建一个帧循环处理函数 // Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } //获取当前地板上面的所有物品 _proto.getItems = function(){ return ; } _proto.onLoop = function(...

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