大约有 504 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
...eDir 07-04 20:55:27.117: D/RuntimeProxy(7884): laya_get_value key=ExpansionMainPath 07-04 20:55:27.117: D/RuntimeProxy(7884): laya_get_value key=ExpansionPatchPath 07-04 20:55:27.117: I/layaConch3(7884): m_interceptKey OK! 07-04 20:55:27.117: E/LayaConch5(7884): >>>>>>>conchjar ...
来源: Laya_社区 发布时间: 20190704
...动chrome出现错误: Error processing launch: Error Could not attach to main target 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 请问下loader如何强制加...
来源: Laya_社区 发布时间: 20200110
...码如下: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { onAwake(): void { let img = new Laya.Image; Laya.stage.addChild(img); img.pos(500,100); img.skin = "resources/layabox.png"; //纹理压缩的图片的路径 } onStart() { Laya.Stat.show(0, 0); //性...
来源: Laya3.0_文档 发布时间: 20251010
...动chrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。...
来源: Laya_社区 发布时间: 20200606
...SBridge convertToJsonData:dict]; dispatch_async(dispatch_get_main_queue(), ^{ AppDelegate * appDelegate = (AppDelegate*)[UIApplication sharedApplication].delegate; [appDelegate.launchView setBackgroundColor:color]; }); return res; } + (NSString *)...
来源: Laya_社区 发布时间: 20201209
...台 Laya.stage.addChild(_Scene3D); let _camera = _Scene3D.getChildByName("Main Camera") as Laya.Camera; _camera.clearFlag = Laya.CameraClearFlags.Sky; //从场景中找到圆柱对象 let _cylinder = _Scene3D.getChildByName("Cylinder"); //从圆柱对象上获得刚体碰撞器(对应Unity的刚...
来源: Laya2.0_文档 发布时间: 20210715
...现如下: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property( { type : Laya.Camera } ) private camera: Laya.Camera; @property( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya...
来源: Laya3.0_文档 发布时间: 20241014
...现如下: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property( { type : Laya.Camera } ) private camera: Laya.Camera; @property( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya...
来源: Laya3.0_文档 发布时间: 20251105
...etController.Login (http://127.0.0.1:34822/game/code.js:63582:22) at Main.login (http://127.0.0.1:34822/game/code.js:63904:22) 2018-07-04 0 4 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 用这个 protobuf.zip 2018-07-05 0 8 分享 微博 QZONE 微信 Prajna 赞同来自: 附件上传...
来源: Laya_社区 发布时间: 20180704
... Laya; import { Particle3D } from "./Particle3D"; @regClass() export class Main extends Laya.Script { //粒子特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //...
来源: Laya3.0_文档 发布时间: 20251010