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

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

11. 鼠标交互-修正交互区域 [ 84%]

...**侦听处理方法*/ function onDown(e) { logger.text += "点击 - " + e.target.name + "\n"; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Inter...

来源: Laya_示例 发布时间: 20241001

12. 鼠标交互-修正交互区域 [ 84%]

...ger); } /**侦听处理方法*/ onDown(e) { logger.text += "点击 - " + e.target.name + "\n"; } } new Interaction_FixInteractiveRegion();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import We...

来源: Laya2.0_示例 发布时间: 20241001

13. binding(`atom_${processType}_${name}`)出现异常 [ 80%]

...hrome出现错误: Error processing launch: Error Could not attach to main target ios14系统下 blendMode='lighter' 图片异常 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowe...

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

14. Error TS2304: Cannot find name 'Iterable'. [ 80%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 真机环境找不到window---cant find variable: window stack 2.0.0编译报错Cannot find global type 'Array' LayaNative2.2运行报错。:getBitmapData Cannot find the specified character in all fonts:263c 构建app...

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

15. error TS2304: Cannot find name 'object'. [ 79%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList 真机环境找不到window---cant find variable: window stack 关于同为object层,层级设置无效的问题 运行报错 ...

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

16. 新建页面 勾选“创建逻辑类" 后出现 Cannt find name 'ui' [ 79%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 iphone自带浏览器页面怎么锁定 谷歌浏览器播放mp3出现The AudioContext was not allowed to sta...

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

17. Sprite-屏幕截图 [ 78%]

...idth,this.drawSp.height,"#ff0000"); } private _onclick(e:Event){ switch (e.target.name) { case this.nameArr[0]: var base64Url:string = this._canvas.toDataURL("image/png",1); this.drawImage.skin = base64Url; break; case this.nameArr[1]: var text:Texture = Laya.stage.drawToTexture(Browser.clientWidth,...

来源: Laya2.0_示例 发布时间: 20241001

18. 如何为list内部的button添加事件 [ 78%]

...6 14:39 经过测试在List.mouseHandler中点其他的元素都能通过e.target.name获取到名字,唯独textinput通过e.target.name获取到名字为空,而且e.type为mousedown,希望能够提供一个demo能够读取到list中的textinput的text。 weiyongwill • 2017-01-09 09:33 @cuix...

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

19. laya.sprite精灵无缝拼接地图,会出现黑线跟白线,使用laya的2.0.1beta版本 [ 77%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 matter中layasprite怎么改变...

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

20. 关于横竖屏问题 [ 77%]

...21 11:25 <meta name="viewport" content="user-scalable=no,target-densitydpi=device-dpi" />-----html文档加此行代码---安卓 <meta name="viewport" content="user-scalable=no,target-densitydpi=medium-dpi" />---IOS---safary浏览器 设置下这...

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