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

大约有 37 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0030 秒)

31. mac的2.0.0 beta3版本场景添加脚本为组件报错 [ 58%]

...个窗口提示:    export default class Start extends Laya.Script { constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 */ onAwake(): void {  }  /** * 第一次执行update之前执行,只会执行一次 */ onS...

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

32. StaticModel_MeshSample例子运行不起来 [ 57%]

...odel_MeshSample例子运行不起来 class StaticModel_MeshSample {     constructor() {         Laya3D.init(0, 0,true);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         Laya.Stat.show();         var...

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

33. laya加载unity插件导出的场景 physics3D is not a function [ 55%]

...弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();       //添加3D场景 Laya.Scene3D.load("res/Conventional/SimpleTown_DemoScene.ls",Laya.Handler.create(this,function(s:Laya.Scene3D):void{ var scene = s; Laya.stage.addChild(scene); //创建摄像...

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

34. Resources already exist,is repeated loading 加载特效报重复加载 [ 55%]

... private sp: Laya.Particle2D;     private sp3d: Laya.Sprite3D;     constructor(){         //初始化引擎         Laya3D.init(1134,640);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;       ...

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

35. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 53%]

...我看一下 xdkaka • 2017-12-13 17:03 没办法发图了 class Main { constructor() { Laya.init(480, 852); Laya.stage.scaleMode = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"...

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

36. 使用2.1.1.1引擎创建的ts小游戏升级2.3.0版本之后无法进入游戏 [ 52%]

...无法进入游戏,LayaMaxUI在继承场景时会报一个错 : Class constructor Scene cannot be invoked without 'new' 下附错误截图及demo 附件 : --> testTsgame_2.1_.1_.1_.rar 2019-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

37. 自定义场景继承导出,会在自定义类中加入Laya.前缀导致layaMaxUI文件报错 [ 45%]

...end:Laya.Button;         public btnClose:Laya.Button;         constructor(){ super()}         createChildren():void {             super.createChildren();             this.createView(GmPanelUI.uiView);         }     } }   2.0之前版本,是不...

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