大约有 1,754 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0068 秒)
... 第一,初始化不要在UI继承类里或者是脚本类里,入口的Main已经有画布的初始化了, 第二,new Config3D,不是new Laya.Config3D, 你把你在chuanglian1.js里的这段删除 //1.开启第四个参数 let config3D = new Laya.Config3D(); config3D.isAlpha = true...
来源: Laya_社区 发布时间: 20201022
...到2.3的版本更新清单 提到 [改进]编辑器增加命令行支持 [Main.exe publish E:\demo\Demo.morn] 照例实验了下,把Main.exe换成MornBuilder.exe,发现没有结果输出。 2016-02-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20160229
...体颜色 window.loadingView.loading(-1); } 开发者可分别在 \app\src\main\res\values和\app\src\main\res\values-en目录下找到strings.xml文件,可以在此添加用于显示在loadingView界面上的Tips,在RuntimeProxy.java文件中修改private int[] mTips的值,即可决定哪个T...
来源: Laya3.0_文档 发布时间: 20251010
...便调试ts源码,但会影响编译速度 debug: true, entries: ['src/Main.ts'], cache: {}, packageCache: {} }) //使用tsify插件编译ts .plugin(tsify) .bundle() //使用source把输出文件命名为bundle.js .pipe(source('bundle.js')) //把bundle.js复制到bin/js目录 .pipe(gulp.dest(workS...
来源: Laya_社区 发布时间: 20181221
...结果? const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { testData = new Laya.Vector3(1, 1, 1); @property(Laya.Camera) camera: Laya.Camera; onStart() { //@ts-ignore window.camera = this.camera; console.log("Game start", this....
来源: Laya_社区 发布时间: 20241029
...idth=800,height=600,backgroundColor="0xffffff",frameRate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#FFFFFF"); //背景色 IFlash.showInfo(false)...
来源: Laya_社区 发布时间: 20151225
Laya2.0导入protobufjs第三方库,报错找不到文件 Laya2.0 在Main.ts里:import protoAll = require("../libs/protoAll"); var pCls = protoAll.com.bee.protobuf.ClimbingTowerInfoProto; var p: protoAll.com.bee.protobuf.ClimbingTowerInfoProto = pCls.create(); p.curId = 10; p.isSecondPass = tru...
来源: Laya_社区 发布时间: 20190228
...log日志信息如下: [13684:12008:1010/112002.779:VERBOSE1:crash_service_main.cc(78)] Session start. cmdline is [--reporter-url= --application-name=LayaAir "--crashes-directory=C:\Users\ADMINI~1\AppData\Local\Temp\LayaAir Crashes" --v=1] [13684:12008:1010/112002.824:VERBOSE1:crash_service.cc(142)]...
来源: Laya_社区 发布时间: 20171010
... = require('fs'); var Stacktracey = require('stacktracey'); async function main() { // const errorStack = "at t.ClearYeMan (http://cangqiong.17dawan.com/v ... 341015)"; // 错误信息 const tracey = new Stacktracey(errorStack); // 解析错误信息 const { readFileSync } = fs; for(const ...
来源: Laya_社区 发布时间: 20190528
...nitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logca...
来源: Laya_社区 发布时间: 20171218