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

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

161. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 65%]

...en(); this.loadScene('LoginScene'); }   }     import LoginScene from "./script/LoginScene" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:strin...

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

162. Laya转小游戏导入的JS文件怎么访问 [ 65%]

...导入的JS文件怎么访问 laya这边在html标签里面导入了 <script src='matter.js' loader='laya'></script> laya代码里可以通过Browser.window.Matter来获取这个对象是有 值的 但转微信小游戏后Browser.window.Matter就为undefined了 2018-04-28 添加评论 ...

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

163. layaAir TS项目如何引用protoBuf库? [ 65%]

...件添加到这里-->     <!--jsfile--Custom-->     <script type="text/javascript" src="libs/protobuf.js"></script>     <!--jsfile--Custom--> 3、测试代码参考了上面那个连接,但稍微做了修改: // 程序入口 class GameMain{     constructo...

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

164. 引用3d物理引擎失败,有文件丢失 Laya3D._physics3D.btVector3 找不到 [ 65%]

.../bin/js/bundle.js:51762:26)     index.html 已经有引用了    <script type="text/javascript" src="libs/laya.physics3D.js"></script>  2018-10-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...

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

165. 打开新窗口被拦截,同样的方法用egret和其他h5工程都没有问题 [ 64%]

...www.baidu.com"; goToNewWindow(url); } 这是index.html的js方法 <script> function goToNewWindow(payurl) { var a = $("<a href='"+payurl+"' target='_blank'>click</a>").get(0); console.log("aaa",a); var e = document.createEvent('MouseEvents'); e.in...

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

166. 进度条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ProgressBar }) public progressBar: Laya.ProgressBar; @property({ type: Laya.Text }) public loadText: Laya.Text; //组件被激活后执行,此时所有节点和组件均...

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

167. 救命啊,遇到苹果爸爸 Guideline 2.5.2 [ 64%]

...r:, performSelector:, method_exchangeImplementations(), and running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) a...

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

168. 无法触发浏览器文件上传框 [ 63%]

...t;input type="file" id="file" style="display: none;"></input> <script type="text/javascript"> var btn = document.getElementById('btn'); btn.addEventListener('click', function(){ document.getElementById("file").click(); }); </script> </body> </html>我想你理解错...

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

169. 关于LAYADCC关于热更新问题。真心希望解决!! [ 63%]

...档,要不然我游戏越来越多,单一html文档上已经几百个script标签了。canvas又不支持跨域加载资源,再cdn也搁不住这个资源加载速度啊 2018-07-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 bey...

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

170. Accelerator 使用报错 [ 63%]

... 提交 1 个回复 cuixueying 赞同来自: 看下你的index.html下的script标签,是否引入了Accelerator所在的js文件! 2017-08-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Playerdata1 相关问题 Layabox 2.0 bate5 ...

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