大约有 53 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
...rivate function onClick(e:Event):void { switch(e.currentTarget) { case btn1: show(); break; case btn2: ...
来源: Laya_社区 发布时间: 20180425
... if (property instanceof Material) { switch (node.type) { case KeyFrameValueType.Float: property = property.getFloat(node.getPropertyByIndex(i)); ...
来源: Laya_社区 发布时间: 20240517
...awUnderline(align, x, y, lineIndex) { var lineWidth = this.underLineWidth; switch (align) { case 'center': x -= lineWidth / 2; break; case 'right': x -= lineWidth; break; case 'left': default: break; } y += this._charSize.height; this._graphics.drawLine(x, y, x + lineWidth, y, this.underColor || thi...
来源: Laya_社区 发布时间: 20180417
... var name1:String ; switch(dir1){ case 0:name1 = "stand4";break; case 1:name1 = "stand5";break; case 2:name1 = "stand6";break; ...
来源: Laya_社区 发布时间: 20170921
... */ private static dispatch(message:any):void{ switch(message.cmd){ case 1: var testUI: ui.test.TestPageUI = new ui.test.TestPageUI(); testUI.x = 100; t...
来源: Laya_社区 发布时间: 20180529
...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
...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
.... 慢慢的,开始尝试自己写代码 从最开始的if else 到switch 从table 到div 从只能在一个页面上写写改改,到使用框架尝试制作一个网站 期间遇到过无数问题,其中苦难只有自己知道 从变量到数组、循环、还有花了很长时间才...
来源: Laya_社区 发布时间: 20180524
... ```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