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

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

181. 发布vivo快应用,双指点击导致游戏卡死 [ 67%]

...老版本微信的问题。 陆仁毅 • 2019-09-25 12:01 可以用scene.input.multiTouchEnabled = false;关了3d的多点触碰试试 Kerry • 2019-09-25 12:06 @陆仁毅:微信版本没有关闭3d多点触控,回头我去测试一下 ,但是在vivo上 scene.input.multiTouchEnabled = false,...

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

182. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 67%]

...yName("camera") as Laya.Camera; } onUpdate(){ var touchCount = this._scene.input.touchCount();         if (1 === touchCount){             //判断是否为两指触控,撤去一根手指后引发的touchCount===1             if(this.isTwoTouch){           ...

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

183. [LayaNative2]pad外设键盘无法捕获到KEY_DOWN,KEY_UP,KEY_PRESS事件 [ 67%]

...容相关的链接 提交 1 个回复 1567600631用户 赞同来自: 监听input事件 2024-02-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 林桦生 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。竟...

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

184. laya.ui.TextInput [ 66%]

...cumentationAll Packages | All Classes | Index | Frames No Frames TextInputProperties | Methods | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入...

来源: laya_api 发布时间: 20170929

185. LAYA IDE 设置语言包路径后卡死 [ 66%]

...lace is not a function TypeError: text.replace is not a function     at Input.__proto.parseLines (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:60001:19)     at Input.__proto.typeset (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:59934:9)     at TimerHa...

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

186. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 66%]

... tmpColors.join(","); } } } /** * 输入框样式赋值 * @param {Laya.TextInput} input * @param {ITextFormat} styleObj */ assignTextInputFontStyle(input: Laya.TextInput, style: string | ITextFormat): void { let styleObj: ITextFormat; if (typeof style === "string") { styleObj = this.getStyleById(sty...

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

187. 原生js实现复制到剪贴板功能在浏览器中不可用 [ 66%]

原生js实现复制到剪贴板功能在浏览器中不可用 var oInput = document.createElement('input'); oInput.value = "复制的内容"; document.body.appendChild(oInput); oInput.select(); // 选择对象 document.execCommand("Copy"); // 执行浏览器复制命令用原生js实现复制功...

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

188. 在web端运行时,使用输入框,在加载的第一次手动输入时,会出现底部有个黑色块的问题 [ 65%]

...部有个黑色块的问题 在执行到laya.core.js中第16443行代码的input.focus()后就会出现黑色块,在重新点击之后黑色块会消失,有点影响体验,但input.focus()我暂时没找到定义,在注释之后不会出现黑色块,但web的输入框选中要点击两次...

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

189. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 65%]

...     }     onUpdate(){         let touchCount = this.scene.input.touchCount();         if (1 === touchCount){             //判断是否为两指触控,撤去一根手指后引发的touchCount===1             if(this.isTwoTouch){           ...

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

190. 微信小游戏加载资源问题 [ 64%]

...url = null; } } } MiniSound._id = 0; MiniSound._audioCache = {}; class MiniInput { constructor() { } static _createInputElement() { Laya.Input['_initInput'](Laya.Input['area'] = Laya.Browser.createElement("textarea")); Laya.Input['_initInput'](Laya.Input['input'] = Laya.Browser.createEleme...

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