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

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

31. canvas下资源清理的问题 [ 51%]

...rivate function onClick(e:Event):void         {             switch(e.currentTarget)             {                 case btn1:                     show();                     break;                 case btn2:         ...

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

32. [LayaAirIDE3]时间轴动画调了材质引用类型的属性,调用play()接口切状态的时候调用_revertDefaultKeyframeNodes报材质属性空 [ 49%]

...      if (property instanceof Material) {                     switch (node.type) {                         case KeyFrameValueType.Float:                             property = property.getFloat(node.getPropertyByIndex(i));                          ...

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

33. 分享,扩展Laya.Text组件实现简单的富文本 [ 47%]

...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

34. 动画不显示 [ 47%]

...                var name1:String ;                 switch(dir1){                     case 0:name1 = "stand4";break;                     case 1:name1 = "stand5";break;                     case 2:name1 = "stand6";break;        ...

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

35. 微信小游戏利用开放域好友关系链做排行榜 [ 46%]

...   */     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

36. 扇形遮罩画不全画了一个很奇怪的形状但是矩形的就没问题。显示效果如下:版本号1.7.10 [ 45%]

...getSize().height;                                  switch (this.type)                 {                     case PROGRESS_TIMER_TYPE_RADIAL:                                                  var r:Number = Math.sqr...

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

37. 3d项目安卓包。部分手机报加载3d资源报错 [ 45%]

...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

38. 【简单跑酷--JS版】---Lv.6 终篇 [ 44%]

...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

39. 艰难的历程 [ 42%]

....   慢慢的,开始尝试自己写代码 从最开始的if else   到switch  从table  到div 从只能在一个页面上写写改改,到使用框架尝试制作一个网站   期间遇到过无数问题,其中苦难只有自己知道 从变量到数组、循环、还有花了很长时间才...

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

40. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 40%]

... ```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