大约有 1,212 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1007) Laya3.0_api(61) Laya2.0_api(57) Laya3.0_文档(52) Laya2.0_文档(20) Laya_示例(11) laya_api(4)
... 2.1.x版本的EffectAnimation是以数据方式存储的,2.x版本号看scene文件是以ui.xxxUI为runtime类型的脚本。不知道是bug还是设计如此,如果只能是runtime的话,微信小游戏就会多出很多生成的js代码了。 附件 : --> EffectAnimationBug.rar 2018-12-13 ...
来源: Laya_社区 发布时间: 20181213
...叠 要回复问题请先登录 发起人 h690759643 相关问题 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 关于发布oppo、vivo快游戏,无法生成Rpk问题 我的tieldmap生成的json文件里data是这种格式,地图显示有...
来源: Laya_社区 发布时间: 20170320
...ain.ts文件中 import {ui} from './ui/layaMaxUI' // GameConfig.startScene && Laya.Scene.open(GameConfig.startScene); let view = new ui.test.TestSceneUI(); Laya.stage.addChild(view) 发现runtime也没有运行,是设计就是这样的吗? 就不传demo了 就改动上面两...
来源: Laya_社区 发布时间: 20191009
...成的ui ts文件如附件图片所示自动加了Laya,如本来应该是Scene的,结果变成Laya.Scene 生成的js也有这个问题,自动添加Laya导致变成。Laya.Laya.stage.addChild 另外,使用第三方js库也有这个问题,我自己写了dts文件,ts里面引用,结果...
来源: Laya_社区 发布时间: 20191211
...声明场景中的Button等控件? export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"labe...
来源: Laya_社区 发布时间: 20200228
...| Events Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInH...
来源: Laya2.0_api 发布时间: 20190513
2.1.1版加了3D物理引擎库后创建3个scene3D就报错 报错信息如下: laya.physics3D.js:308 Uncaught abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which all...
来源: Laya_社区 发布时间: 20191022
...中的Button等控件? export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name"...
来源: Laya_社区 发布时间: 20200228
.../ui/View" View Class View View 是一个视图类 在2.0里,View继承自Scene类,但这是不合理的,Scene是一个2D+3D的大概念。所以在3.0里请忽略这个继承。 Hierarchy Scene View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseU...
来源: Laya3.0_api 发布时间: 20231115
...D场景 代码如下: export default class TestUI extends ui.test.TestSceneUI { private resource: Array<String> = [ "gate/Conventional/Test.ls", ]; constructor() { super(); } onAwake(): void { Laya.loader.create(this.resource, Laya.Handler.c...
来源: Laya_社区 发布时间: 20190925