大约有 1,151 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
...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
....layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.component.Script3D))。 关于脚本的添加使用这里不做过的讲解,在以往的示例中都有或多或少的使用脚本。关于脚本的官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&catego...
来源: Laya2.0_文档 发布时间: 20210715
...能,, 但是会有一个问题,,如果我的html文件内有<script src="http://hgsdk.bjystc.com/js/spar.js"></script>这样类型的js文件(从网络加载的不是在本地),那发布的时候,就会报错发布失败,,勾选的合并js混淆js都没有效果,...
来源: Laya_社区 发布时间: 20180118
...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
protobuf TS中使用 我已经在index.html中加入 <script type="text/javascript" src="libs/protobuf.js"></script> 但是工程中libs怎么加入.d.ts呢? 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20170817
...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
...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
...INDEX.HTML中会在<!--jsfile--startTag-->中生成对应的JS的<script>标签,这样挺不错的。 但是有时候项目中要有多个页面的时候就不知道咋办了。 比如,我有a.js b.js c.js d.js 4个JS文件, 有 index.html simp.html 两个html文件, ...
来源: Laya_社区 发布时间: 20170828
... 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
...库也失败,可以尝试以下命令 npm i -g layaair2-cmd --ignore-scripts 相对于常规命令多了 --ignore-scripts 2020-10-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 小火火 相关问题 解决跨域相关! laya...
来源: Laya_社区 发布时间: 20201023