大约有 507 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...打包发布不生效。删除了手机里面的rpk包也不行。 我在main.ts设置了url.basepath,按理说应该是去读的服务器资源,可是我上传到服务器也不生效。 还有rpk包打出来是包含了所有资源,包体太大,oppo那边要求首包8M以内。这个要怎...
来源: Laya_社区 发布时间: 20190528
...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
...动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
...} 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
.../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
...况。请问下是引擎不兼容呢,还是代码写的不完善 class Main { private _roomId = 0; constructor(roomId?: number) { this._roomId = roomId; Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = '...
来源: Laya_社区 发布时间: 20181202
...动chrome出现错误: Error processing launch: Error Could not attach to main target TextInput重写onFocus和onBlur事件监听不到 关于遍历产生的sprite的点击事件,急,大神帮看哈 Animation如何加点击事件 TypeScript下HttpRequest发送Post请求有Bug? 使用了u3D导出...
来源: Laya_社区 发布时间: 20180528
...动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
...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
...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