大约有 108 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...seHandler); } /** * 鼠标响应事件处理 */ function mouseHandler(e) { switch (e.type) { case Event.MOUSE_DOWN: appendText("\n————————\n左键按下"); break; case Event.MOUSE_UP: appendText("\n左键抬起"); break; case Event.CLICK: appendText("\n左键点击\n—————...
来源: Laya_社区 发布时间: 20180205
... for (var name in msg) { if (protos[name]) { var proto:any = protos[name]; switch (proto.option) { case "optional": case "required": buffer.writeArrayBuffer(this.encodeTag(proto.type, proto.tag)); this.encodeProp(msg[name], proto.type, protos, buffer); break; case "repeated": if (!!msg[name] &&a...
来源: Laya_社区 发布时间: 20180119
...getSize().height; switch (this.type) { case PROGRESS_TIMER_TYPE_RADIAL: var r:Number = Math.sqr...
来源: Laya_社区 发布时间: 20180404
...33,0x682496 08-20 16:53:51.030 962-1015/? E/MMKernelKeyLogObserver: ingore switch state: -309 2018-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 能提供一个在运行环境报错的...
来源: Laya_社区 发布时间: 20180820
...33,0x682496 08-20 16:53:51.030 962-1015/? E/MMKernelKeyLogObserver: ingore switch state: -309 2018-12-13 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20181213
...rtCharsByAlign(align: string): void { let alignConfig = XUtils.TEXT_ALIGN; switch (align) { case alignConfig.CENTER: this.sortOnCenter(); break; case alignConfig.RIGHT: this.sortOnRight(); break; case alignConfig.LEFT: default: this.sortOnLeft(); break; } } /** * 排列字符(适合从左到右)...
来源: Laya_社区 发布时间: 20180302
...e')this._prePoint.x=this._prePoint.y=-1000000; switch (evt.type){ case 'mousedown': this._touchIDs[0]=this._id++; if (!MouseManager._isTouchRespond){ ...
来源: Laya_社区 发布时间: 20170614
....addChild(charSp); return charSp; } // 设置位置 private setCharsPos(){ switch (this._posType){ case BPFont.LEFT: this.setCharsPosOnLeft(); break; case BPFont.RIGHT: this.setCharsPosOnRight(); break; case BPFont.CENTER: this.setCharsPosOnCenter(); break; } } // 左对齐 private setCharsPosOnLeft...
来源: Laya_社区 发布时间: 20161014
...ht = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.loader.getRes("res/en_bar.png"); break; case Hp.HP_TYPE_SPEED: texture2 = Laya.loader.getRes("res/hp_bar.png"); break; } this.bg = new Sprite(); this.bar = new Sprite();...
来源: Laya_社区 发布时间: 20160803
... ```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)//_scene不为空表示场景已加载完成 this.gar...
来源: Laya2.0_文档 发布时间: 20210715