大约有 37 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0030 秒)
...个窗口提示: export default class Start extends Laya.Script { constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 */ onAwake(): void { } /** * 第一次执行update之前执行,只会执行一次 */ onS...
来源: Laya_社区 发布时间: 20181013
...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
...弹脚本。 */ 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
... 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
...我看一下 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
...无法进入游戏,LayaMaxUI在继承场景时会报一个错 : Class constructor Scene cannot be invoked without 'new' 下附错误截图及demo 附件 : --> testTsgame_2.1_.1_.1_.rar 2019-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20191115
...end:Laya.Button; public btnClose:Laya.Button; constructor(){ super()} createChildren():void { super.createChildren(); this.createView(GmPanelUI.uiView); } } } 2.0之前版本,是不...
来源: Laya_社区 发布时间: 20190128