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

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

911. 关于微信localStorage的问题 [ 68%]

...=============   ios 微信浏览器如果读取的localstorage为“”空string会出错 2018-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: LayaNative支持LocalStorage的使用,但...

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

912. 官方示例图集路径无法加载 [ 68%]

...,就创建多少个动画关键帧  */ private createAniTemplate(name: string, len: number = 8): void {     let aniFrames: Array<string> = [];     for (let i: number = 0; i < len; i++) {         aniFrames.push("resources/UI/role/atlasAni2/139x/" + name + i + ".png");     }   ...

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

913. laya.display.cmd.FillTextureCmd_API3.0 [ 68%]

...ned in laya/display/cmd/FillTextureCmd.ts:18 纹理。 Optional type type: string Defined in laya/display/cmd/FillTextureCmd.ts:38 (可选)填充类型 repeat|repeat-x|repeat-y|no-repeat width width: number Defined in laya/display/cmd/FillTextureCmd.ts:30 (可选)宽度。 x x: number Define...

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

914. Byte writeArrayBuffer的Bug [ 68%]

...age.Login.Password: got wiretype 7, want 2   message Login{//用户登录 string nickName = 1; string password = 2; }   2018-03-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 darren 相关问题 TypeScript下HttpRequest发送Post请...

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

915. 加载-销毁Texture使用的图片资源 [ 68%]

...ate txt:Text; private isDestroyed:Boolean = false; private readonly PathBg:string = "../../res/bg2.png"; private readonly PathFly:string = "../../res/fighter/fighter.atlas"; constructor() { //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN...

来源: Laya_示例 发布时间: 20260130

916. 获取index.html中的值 [ 68%]

...t;   <!-------定义变量赋值--------> <script>   var acc:String = "123456";    var psd:String = "654321"; </script>        <script src='myLaya.max.js' loader='laya'></script> </body> </html> 2017-04-13 添加评论 免费帖 --> 分享 微博 QZ...

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

917. button 按下放缩特效 [ 68%]

....display.GraphicAnimation {     //     protected _getTextureByUrl(url: string): string;     //     static parseAnimationData(aniData: any): any;     // } }   T15_UITest.zip 2017-08-17 0 0 分享 微博 QZONE 微信 asdf131 赞同来自: import Button = laya.editorUI.Button;  还发现这...

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

918. layacmd 报错 [ 68%]

... stdout: type: Linux stderr: path.js:7 throw new TypeError('Path must be a string. Received ' + inspect(path)); ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.join (path.js:1211:7) at Function.FileTools.getPath (/usr/lib/node_modules/layacmd/bin/Project...

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

919. webview · LayaAir3.0文档 · LAYABOX [ 68%]

...接口来实现。 1. 接口定义 /** * 显示一个webview * @param url {string} 要显示的url地址。 * @param posx {number} weview的左上角位置 * @param posy {number} webivew的左上角位置 * @param width {number} webview的宽度 * @param height {number} webview的高度 * @param can...

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

920. laya.display.cmd.DrawTrianglesCmd_API3.0 [ 68%]

...ined in laya/display/cmd/DrawTrianglesCmd.ts:46 alpha blendMode blendMode: string | null Defined in laya/display/cmd/DrawTrianglesCmd.ts:51 blend模式 color color: number | null Defined in laya/display/cmd/DrawTrianglesCmd.ts:55 颜色变换 indices indices: Uint16Array Defined in laya/display/cmd/...

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