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

大约有 1,050 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)

251. 视频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...s, property } = Laya; /** * 使用视频纹理 */ @regClass() export class Script extends Laya.Script { declare owner: Laya.Sprite3D; @property(Laya.Scene3D) private scene: Laya.Scene3D; private videoPlane: Laya.Sprite3D; private videoTexture = new Laya.VideoTexture(); onAwake(): void { //获取场...

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

252. 音频节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...ndNode: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.SoundNode }) public sound: Laya.SoundNode; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创...

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

253. iOS9兼容bug,求指教 [ 68%]

...rrent num=10 2019-06-13 11:20:13.251 RBaoSANGuo_H5L1[1552:289925] Start js scripts/apploader.js 2019-06-13 11:20:13.261 RBaoSANGuo_H5L1[1552:289925] js thread started. 2019-06-13 11:20:13.277 RBaoSANGuo_H5L1[1552:289925] found the file in the package:scripts/runtimeInit.js 2019-06-13 11:20:13.281 RB...

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

254. 新版IDE编辑器的几个问题,,,,麻烦官方看一下,,, ( LayaAir IDE 1.7.15 beta ) [ 67%]

...能,,  但是会有一个问题,,如果我的html文件内有<script src="http://hgsdk.bjystc.com/js/spar.js"></script>这样类型的js文件(从网络加载的不是在本地),那发布的时候,就会报错发布失败,,勾选的合并js混淆js都没有效果,...

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

255. 1.9LayairIDE创建的微信小游戏示例运行报错 [ 67%]

... at require (VM32 WAGame.js:1)     at <anonymous>:1:1     at HTMLScriptElement.scriptLoaded (<anonymous>:18:21)     at HTMLScriptElement.script.onload (<anonymous>:30:20) (anonymous) @ code.js? [sm]:1 require @ VM32 WAGame.js:1 (anonymous) @ VM32 WAGame.js:1 (anonymous) @ gam...

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

256. as怎么用protobytebuf传输数据到服务端 [ 67%]

...IF-FLASH]*/ bytes.position = 0; /*[IF-FLASH]*/ g_Socket.send(bytes); //[IF-SCRIPT] (g_Socket._output as ByteArray).writeBytes(bytes); //[IF-SCRIPT] g_Socket.flush(); }参考下这个例子! 2017-04-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

257. protobuf TS中使用 [ 67%]

protobuf TS中使用 我已经在index.html中加入 <script type="text/javascript" src="libs/protobuf.js"></script> 但是工程中libs怎么加入.d.ts呢? 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

258. 引擎2.0升级到2.9,as语言,IdeaIDE。 [ 67%]

...以前的区别,手动适配 比如发布命令行增加了以下内容 script=ES6;outlaya=true;layaists=true 2020-12-19 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 钟爱毛爷爷 相关问题 看了其他引擎才发现 LAYA 真...

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

259. layaair2.2 ide版本新建的空项目,开启调试模式后报错了 [ 67%]

...TypeError: Cannot read property 'enable' of undefined preload.js:55 at HTMLScriptElement.script.onload (file:///E:/h5/project/szfy2.2/bin/libs/laya.core.js:22121:39)   TypeError: Cannot read property 'enable' of undefined laya.core.js:22121 at HTMLScriptElement.script.onload (file:///E:/h5/project/...

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

260. 关于 iframe跳转地址 [ 67%]

...0" marginwidth="0" marginheight="0" bgcolor="#000000"></body> <script type="text/javascript" language="javascript"> var arguments = window.location.search; var url = "http://119.29.138.145/bgame/in ... 3B%3B // http://119.29.138.145/bgameClient/index.html(游戏地址 体验服) // ht...

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