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

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

111. ts继承后,代码压缩的问题 [ 57%]

...of Array && function(d, b) { d.__proto__ = b } || function(d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p] } ; return function(d, b) { extendStatics(d, b); function __() { this.constructor = d } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __) ...

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

112. Unity导出插件Shader报错。 [ 57%]

...ex program with DIRECTIONAL SHADOWS_SCREEN LIGHTMAP_ON DisableLighting Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COL...

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

113. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 57%]

...rted()) { var hls:Object = new Hls(); hls.loadSource('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播...

来源: Laya2.0_文档 发布时间: 20210715

114. 模板@prop如何使用枚举 [ 56%]

...oseEffect = 2 };  function ENUM_ChangeString(enumObject) { let reslut=""; for (var entry in ENUM_Effect) { reslut=reslut+","+entry; }  return reslut; } /** @prop {name:targetEffect, tips:"UI特效", type:ENUM_Effect, default:null}*/ private targetEffect:ENUM_Effect = null; //这样写实不行的 ...

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

115. Ignored attempt to cancel a touchmove event with cancelable=false [ 56%]

...解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2020-05-12 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复...

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

116. Ignored attempt to cancel a touchmove event with cancelable=false [ 56%]

...解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2020-05-12 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复...

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

117. MovieClip的target和currentTarget属性为undefined? [ 56%]

...t和currentTarget属性为undefined? private function showNowPic():void{ for each(var ul:String in pics){ var mc:MovieClip = new MovieClip; mc.load(ul); this.addChild(mc); mc.on(Event.COMPLETE,this,stopNowMC) } } private function stopNowMC(e:Event):void{ trace(e.currentTarget); trace(e.target); Mo...

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

118. Sprite.drawTexture出来的图片有点模糊 [ 56%]

...stead if smoothing is needed. See https://www.chromestatus.com/f ... 29152 for more details. (anonymous) @ laya.core.js:15863 laya.core.js:12205 loader callback cost a long time:128 url=face/TopUI760x50.png 2017-12-19 0 0 分享 微博 QZONE 微信 wudi199553 赞同来自: 你下面这行是报错...

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

119. 和原生Dom交互 · LayaAir3.0文档 · LAYABOX [ 56%]

...vg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' + '<foreignObject width="100%" height="100%">' + '<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' + '<em>I</em> like ' + '<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px...

来源: Laya3.0_文档 发布时间: 20230629

120. List中如何动态加载多个image,并为每个image添加监听事件? [ 56%]

...ng","9tong","1tiao","2tiao","3tiao","4tiao","5tiao"]; var _dataSource_=[]; for(var i = 0;i<this.data.length;++i) { var _data_={ skin:"Images/"+this.data[i]+".jpg" }; _dataSource_.push(_data_); } this.selfHand.dataSource = _dataSource_; this.selfHand.selectEnable = true; } Laya.class(Index,"Index"...

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