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

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

471. oppo小游戏修改逻辑发布不生效,且包体包含资源太大 [ 49%]

...打包发布不生效。删除了手机里面的rpk包也不行。 我在main.ts设置了url.basepath,按理说应该是去读的服务器资源,可是我上传到服务器也不生效。 还有rpk包打出来是包含了所有资源,包体太大,oppo那边要求首包8M以内。这个要怎...

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

472. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...mon.glsl"; #include "PBRVertex.glsl"; varying float spriteCustomData; void main() { Vertex vertex; getVertexParams(vertex); PixelParams pixel; initPixelParams(pixel, vertex); gl_Position = getPositionCS(pixel.positionWS); gl_Position = remapPositionZ(gl_Position); spriteCustomData = NodeCustomData0;...

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

473. 移动端Laya.VideoTexture播放视频纹理会出现卡顿情况~如何解决? [ 48%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target Laya2.12.0项目出现卡顿现象(必现) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not all...

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

474. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 48%]

...} from "../common/windows/BaseWin"; import Const from "../Const"; import UIMain from "../ui/Game/UIMain";  export default class GameWnd extends BaseWin {     public view: UIMain;     /** 角色 */     private character: Laya.Sprite     /** 角色刚体*/     private rig: Laya.RigidBody  ...

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

475. SCALE_FIXED_WIDTH适配屏幕的问题 [ 48%]

.../66.0.3359.126 MQQBrowser/6.2 T     代码如下,另附上demo  class Main {         private _roomId = 0;         constructor(roomId?: number) {             this._roomId = roomId;             Laya.init(750, 1218, Laya.WebGL);             Laya.Browser.document.title = '...

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

476. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 48%]

...况。请问下是引擎不兼容呢,还是代码写的不完善  class Main {         private _roomId = 0;         constructor(roomId?: number) {             this._roomId = roomId;             Laya.init(750, 1218, Laya.WebGL);             Laya.Browser.document.title = '...

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

477. Native下http请求,Error事件中的error对象错误码全都是404 [ 48%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target TextInput重写onFocus和onBlur事件监听不到 关于遍历产生的sprite的点击事件,急,大神帮看哈 Animation如何加点击事件 TypeScript下HttpRequest发送Post请求有Bug? 使用了u3D导出...

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

478. 为什么会出现报错 ani not found:ufo1_down [ 48%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 谷歌浏览器播...

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

479. LayaIDE运行正常,微信开发者工具加载FairyGUI官方库文件报错 [ 47%]

...awinflate.min.js"); require("./libs/fairygui/fairygui.min.js"); require("./main.min.js"); 以下是报错内容:TypeError: Cannot use 'in' operator to search for 'Zlib' in undefined at p (rawinflate.min.js? [sm]:1) at rawinflate.min.js? [sm]:14 at rawinflate.min.js? [sm]:14 at require (WAGame.js:1...

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

480. 计算着色器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...8]; layout(local_size_x = 32, local_size_y = 1, local_size_z = 1) in; void main() { int filterOffset = (filterDim - 1) / 2; ivec2 dims = textureSize(inputTex, 0); ivec2 workGroup = ivec2(int(gl_WorkGroupID.x), int(gl_WorkGroupID.y)); ivec2 local = ivec2(int(gl_LocalInvocationID.x), int(gl_LocalInvoc...

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