大约有 3,790 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0085 秒)
Laya_社区(3244) Laya2.0_文档(198) Laya3.0_api(102) Laya3.0_文档(95) Laya2.0_api(82) Laya_示例(44) laya_api(25)
...D模型加载出错 //添加自定义模型 //this.box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))); Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh",Laya.Handler.create(null, function(sp){ //Laya...
来源: Laya_社区 发布时间: 20190514
...何自定义场景? 编辑器里面F9之后再场景类型里面添加UIScene,然后写如下类。。不知道后面如何操作了,有没教材? export default class UIScene extends laya.display.Scene{ } 2018-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20181017
...• 2020-06-15 17:58 @189*****909: //预加载所有资源 var resource = [sceneUrl]; Laya.loader.create(resource, Handler.create(this, this.onComplete3D, [onProloadComplete]), new Handler(this, this.progressFun, null, false)); this.scene3d = Loader.getRes(sceneUrl) as Scene3D; Laya.stage.addChild(t...
来源: Laya_社区 发布时间: 20200609
...modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class BGPageUI extends View { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("BGPage"); } } export class MonkeyPageUI extends View { construc...
来源: Laya_社区 发布时间: 20181014
...问题 我写 一个类 继承与 Laya.Sprite 通过 var scene = new GameScenePVP(); Laya.stage.addChild(scene); 添加上本类 GameScenePVP 中 设置了物理世界的初始化 游戏结束 我调用 Laya.stage.removeChild(this); 但是 上面的...
来源: Laya_社区 发布时间: 20170421
...5, 1));方向光那个这样写,我们会修改文档 下面这个是var scene:Scene3D = Laya.loader.getRes("LayaScene_01/loveScene.ls") 2018-10-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 159*****300 ...
来源: Laya_社区 发布时间: 20180927
....media 是否支持 WebRTC 影音直播 运行报错 Uncaught Can not find scene:GameView.scene undefined laya加载unity插件导出的场景 physics3D is not a function 请问官方API中有反余弦的方法吗? 问题状态 最新活动: 2018-07-25 20:31 浏览: 2041 关注: 2 人 prepares •...
来源: Laya_社区 发布时间: 20180725
...ad property 'cursor' of undefined错误 运行报错 Uncaught Can not find scene:GameView.scene undefined LayaAir 2.0.1 切换场景报异常 Cannot read property ‘_physicsUpdateList’ can not read property "elements" of underfined Property 'BoxMesh' does not exist on type 'typeof Laya' 发布web...
来源: Laya_社区 发布时间: 20180607
...nnot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. Property 'BoxMesh' does not exist on type 'typeof Laya' 构建出来的安卓项目...
来源: Laya_社区 发布时间: 20180919
...var OBJ = Laya.Pool.getItemByCreateFun("gk2v1",gkpref.create,gkpref); this.Scene.addChild(OBJ); })); 附件 : --> ZMW.zip 2020-10-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 王炸 赞同来自: 我尝试在...
来源: Laya_社区 发布时间: 20201022