大约有 197 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0063 秒)
Laya_社区(82) Laya3.0_api(42) laya_api(20) Laya2.0_api(20) Laya_示例(11) Laya2.0_示例(11) Laya3.0_文档(7) Laya2.0_文档(4)
...题,服务端收不到数据吗?客户端接收数据的方法是监听event.message事件,在事件触发后,你读取socket实例.output的数据即可! 2017-02-18 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Victor 相关...
来源: Laya_社区 发布时间: 20170217
...侧属性面板中设置动画事件属性,如图9-1所示 (图9-1) Event Name:在脚本中调用的事件方法名 Params:在脚本中调用事件方式时的传参(字符串),可以设置多个 如图9-2所示,例如对此事件添加一个 “event1” 方法名,添加两个...
来源: Laya3.0_文档 发布时间: 20230519
...gory=3d&group=Resource&name=GarbageCollection)) ```typescript function(e:Event) { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_s...
来源: Laya2.0_文档 发布时间: 20210715
...ation = new Laya.Animation(); ani.loadAnimation("catFly.ani"); ani.on(Laya.Event.COMPLETE, null, recover); function recover(): void { ani.removeSelf(); Laya.Pool.recover("deathEffect", ani); } return ani; } 附件 : --> 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20191019
...gory=3d&group=Resource&name=GarbageCollection)) ```typescript function(e:Event):void { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不为空表示...
来源: Laya2.0_文档 发布时间: 20210715
...3d&group=Resource&name=GarbageCollection)) ```typescript function(e:Laya.Event):void { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene...
来源: Laya2.0_文档 发布时间: 20210715
...aying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playEvent rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent ...
来源: Laya3.0_api 发布时间: 20231115
...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponen...
来源: Laya3.0_api 发布时间: 20231115
...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponen...
来源: Laya3.0_api 发布时间: 20231115
...| All Classes | Index | Frames No Frames TabProperties | Methods | Events Packagelaya.uiClasspublic class TabInheritanceTab UIGroup Box UIComponent Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited...
来源: Laya2.0_api 发布时间: 20190513