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

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

671. 场景管理 · LayaAir3.0文档 · LAYABOX [ 48%]

...管理一、IDE中的场景1.1 新建场景1.2 场景划分1.3 autoDestroyAtClosed属性1.4 mouseThrough属性二、代码中使用2.1 场景类2.2 打开场景2.3 关闭场景2.4 场景的加载页面2.5 销毁和垃圾回收场景的管理 LayaAir3.0继续延用2.0开发思路为组件化,脚本...

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

672. Text.as中parseLines方法里的问题 [ 48%]

...台中看到有错误日志: TypeError: undefined is not an object (evaluating 's.width') at line 3 in https://usr/game.js _parseLines@https://usr/game.js:3:256231 typeset@https://usr/game.js:3:255040 typeset@https://usr/game.js:48:211550 …………   查了下源码, 定位到Text.as中parse...

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

673. 为什么laya中的shader效果没用? [ 48%]

...3D/Mesh/PBR(Specular)': undeclared identifier 'UnityDecodeCubeShadowDepth' at /Program Files/Unity/Editor/Data/CGIncludes/UnityShadowLibrary.cginc(98) (on d3d11) Compiling Vertex program with POINT SHADOWS_CUBE SHADOWS_SOFT EnableReflection LIGHTMAP_OFF Platform defines: UNITY_ENABLE_REFLECTION_BUFF...

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

674. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 48%]

...file协议。如何处理   laya.core.js:18284 Access to XMLHttpRequest at 'file:///E:/Game-SuperMary/SuperMary/release/web/res/atlas/option.atlas' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension...

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

675. LayaAir中怎么使用node.js 的 socket.io [ 48%]

...须知-版本更新-问题解答(最新版本:1.7.16) Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 Layaair IDE的帧属性面板不见了 TS项目使用ma...

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

676. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 48%]

...一样的代码,提示 Uncaught TypeError: handler.run is not a function at Tween.__proto.complete (laya.core.js:9423) 9423 :handler && handler.run(); 你们自己试试吧。。为啥要。&&run() 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

677. this.bitmap.activeResource is not a function [ 47%]

this.bitmap.activeResource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = n...

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

678. LayaIDE 2.0.2 导出的微信小游戏,安卓真机必定崩溃在 gameThirdScriptError [ 47%]

...都不出这个问题!   gameThirdScriptErrorexpected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f) errorReport @ WAGame.js:1 thirdErrorReport @ WAGame.js:1 (anonymous) @ WAGame.js:1 f @ WAGameSubContext.js:1 (anonymous) @ WAGameSubContext.js:1   ...

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

679. layacmd mac 系统安装不上,急 [ 47%]

...r: #000000; background-color: rgba(0, 0, 0, 0.9)} span.s1 {font-variant-ligatures: no-common-ligatures} yaotekejirigala:~ root# npm install layacmd -g/usr/local/bin/layacmd -> /usr/local/lib/node_modules/layacmd/layacmd.js > electron@1.8.6 postinstall /usr/local/lib/node_modules/layacmd/node_m...

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

680. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 46%]

...修改.as3proj文件相应标签如下 <compileTargets> <compile path="src\HelloWorld.as" /> </compileTargets> 3. 运行后依然编译执行默认生成的LayaSamples.as 2018-09-14 添加评论 已悬赏1元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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