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

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

471. 为什么Laya.loader.load本地加载文件会报这个跨域问题 [ 54%]

...到导致的吗   非要给浏览器加个启动参数allow-file-access-from-files才行。 附件 : --> 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: chrome默认...

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

472. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 54%]

...rs active get active(): boolean set active(value: boolean): void Inherited from PostProcessEffect.active Defined in laya/d3/core/render/PostProcessEffect.ts:35 是否开启 Returns boolean Inherited from PostProcessEffect.active Defined in laya/d3/core/render/PostProcessEffect.ts:39 是否开启 Par...

来源: Laya3.0_api 发布时间: 20231115

473. laya2.0 async怎么用呢? [ 54%]

...场景加载创建和场景打开关闭 laya2.0 ts脚本需要 import ** from ** 问题 Laya2.0 的2d如何编写自定义shader laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! 问题状态 最新活动: 2018-11-22 10:49 浏览: 3515 关注: 2 人 ...

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

474. LayaIDE 2.13.0 添加组件菜单无法显示二级继承的子类 [ 54%]

...代码 export default class View1 extends Laya.Script { }   import View1 from "./View1"; export default class View2 extends View1 { }升级到2.13.0后,在编辑模式属性面板点击【添加组件】按钮,显示的【Code】菜单下只有View1,没有从View1继承的View2。 退回2.12....

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

475. as3用flashdevelop编译加载不了图片 [ 54%]

... at 'file:///D:/My_HTML5_Project/AS3/project/LoadImage/bin/h5/comp/a1.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 好像是说不允许加载,请问怎么解决? 虽然IDE可以加载图片成功,但还是习惯用FD...

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

476. [LayaAirIDE3]xcode切入切出声音不播放 [ 54%]

....wav");             });         }     }   import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void; enum SoundType {     BGM,     Effect,     Dialogue, } export class SoundManager...

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

477. RopeJoint代码动态创建 无法设置otherbody [ 54%]

...RopeJoint的otherbody属性,怎么设置怎么失败。 import UIcontrol from "./UIcontrol";  /** * * @ author:shiguanqing * @ email:0110110110@qq.com * @ data: 2022-04-09 15:53 */ export default class fruit extends Laya.Script {     static Fru:fruit;     public rope:Laya.RopeJoint     cons...

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

478. 无法启动程序和调试 [ 54%]

...属性->快捷方式一栏->目标末尾添加 --allow-file-access-from-files 打开快捷方式,将转换后自动生成的html文件拖拽至chrome浏览器即可正常显示。   2018-01-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

479. 网络和格式-Socket [ 54%]

...} private function onMessageReveived(message:*=null):void { trace("Message from server:"); if (message is String) { trace(message); } else if (message is ArrayBuffer) { trace(new Byte(message).readUTFBytes()); } socket.input.clear(); } private function onConnectError(e:Event=null):void { trace("erro...

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

480. 使用unity导出工具导出模型的时候报错,这个插件难道有版本限制吗 [ 54%]

...TypeLoadException: Could not load type 'UnityEngine.SceneManagement.Scene' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. LayaPlugin.windowShowExportScene () (at Assets/LayaPlugin/LayaItem.cs:116) 2017-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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