大约有 730 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0044 秒)
Laya_社区(629) Laya2.0_文档(43) Laya3.0_文档(31) Laya2.0_api(12) laya_api(7) Laya3.0_api(4) Laya2.0_示例(2) Laya_示例(2)
LayaAir 打包apk报错问题 js文件不是<script src="src/ui/layaUI.max.all.js"></script>加载 而是我自己写的加载js文件的方法 打包后报错用这种方式求怎么解决 我可以把实验的项目上传 你们看一下就懂了 我用js写的项目 项目里面loadS...
来源: Laya_社区 发布时间: 20161124
...moji-U+E056.png'; // origin width/height: 64/64px; //let imgStr = `<img src="${imgUrl}" width="30" height="30"></img>`; let imgStr = `<img src="${imgUrl}" style="width:30px;height:30px"></img>`; htmlDiv.style.color = '#ffffff'; htmlDiv.style.fontSize = 30; htmlDiv.innerHTML =...
来源: Laya_社区 发布时间: 20170511
...ources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\consoleHelper.js:138:22) at Object.formatConsoleMessage (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\consoleHelper.js:39:48) at C...
来源: Laya_社区 发布时间: 20170210
....size(WID, HEI); this.img = new Image(); this.addChild(this.img); } setImg(src) { this.img.skin = src; } } class UI_List { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.in...
来源: Laya2.0_示例 发布时间: 20250221
...); this.img = new Image(); this.addChild(this.img); this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box); // 主要逻辑代码 var Stage = Laya.Stage; var List = Laya.List; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动...
来源: Laya_示例 发布时间: 20250221
...ources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:137:18) at propertyPreviewToString (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:131:19) at props.map.prop (d:\Program ...
来源: Laya_社区 发布时间: 20171203
...错误 file: 'file:///d%3A/LayaWork/LayaAir-workspace/MyGame/libs/laya/src/laya/d3/utils/Utils3D.as' severity: '错误' message: 'java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_l...
来源: Laya_社区 发布时间: 20171009
...= 10[static] 渲染状态_RGB混合方程。Shader3D RENDER_STATE_BLEND_SRC : int = 2[static] 渲染状态_混合源。Shader3D RENDER_STATE_BLEND_SRC_ALPHA : int = 6[static] 渲染状态_混合源ALPHA。Shader3D RENDER_STATE_BLEND_SRC_RGB : int = 4[static] 渲染状态_混合源RGB。Shad...
来源: Laya2.0_api 发布时间: 20190513
...使用绝对路径 解决办法: 打开目录release\vivogame\quickgame\src\新建image文件夹把logo.png放进去 打开配置文件release\vivogame\quickgame\src\manifest.json修改"icon":"/image/logo.png"; 打开release\vivogame\quickgame目录在地址栏输入cmd进入windows命令界面 ...
来源: Laya_社区 发布时间: 20190709
...夹里去。 4 要测试的文件 假设我有三个文件,一个是src/Functions.ts,内容为function hello(): string { return 'Hello World!'; } 一个是src/Library/ToolService.ts, 内容为module Library{ export class ToolService{ constructor(){ } public static sum(a:number, b:number):numb...
来源: Laya_社区 发布时间: 20181214