大约有 155 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0031 秒)
Laya_社区(121) Laya3.0_文档(15) Laya2.0_文档(9) Laya3.0_api(6) laya_api(1) Laya2.0_示例(1) Laya_示例(1) Laya2.0_api(1)
...接口封装, jsvm_value jsInitializeSteam(jsvm_env env, jsvm_callback_info info) { bool success = SteamManager::GetInstance()->Initialize(); printf("init steam!!!"); jsvm_value result; JSVM_CALL_CHECK(jsvm_create_int32(env, success ? 1 : 0, &result)); return result; } 最后,在LayaExtIn...
来源: Laya3.0_文档 发布时间: 20251010
...onItemUpdate = function(_cell, _index) { var data = this.mList_.task_info[_index]; if (data) { _cell.layer_one.visible = (-1 == data.task_id); _cell.layer_two.visible = !_cell.layer_one.visible; _cell.height = (-1 == data.task_id ? 80 : 152); ...
来源: Laya_社区 发布时间: 20191111
... this.onLoading)); } static aaa(): void { } private onLoaded(): void { var info = new view.GameInfo(); info.zOrder = 99;//置最顶,这句话不写图层看不见 // info.init(); Laya.stage.addChild(info); } private onLoading(): void { var bj = new BeiJing(); Laya.stage.addChild(bj); } } new GameMai...
来源: Laya_社区 发布时间: 20180507
...方式,头像还是不能显示。这是打印的信息:level:1,code:1,info1:BK.Image.bkJSImageLoadImage! loadImage failed:/storage/emulated/0/Tencent/MobileQQ//.apollo/game/3458/9CFAF60A5787F4F3940EAE7141B20ABE.png,info2:,info3: 152*****351 • 2018-09-13 20:38 @OneWay: 我是这样写的 var s...
来源: Laya_社区 发布时间: 20180426
...CHANGE, this, onOrientationChange); function onOrientationChange(absolute, info) { if (info.alpha === null) { addLog("当前设备不支持陀螺仪。"); return; } else if (firstTime && !absolute && !Browser.onIOS) { firstTime = false; addLog("在当前设备中无法获取地球坐...
来源: Laya_社区 发布时间: 20171015
...夹下,插上手机,打开手Q,然后编译报错 level=1, code=-1, info1=Execute JS Error![TypeError: this.ctx.transform is not a function. (In 'this.ctx.transform(a,b,c,d,tx,ty)', 'this.ctx.transform' is an instance of RectTransform)]: line = 6253, column = 21, sourceURL = /var/containers/Bu...
来源: Laya_社区 发布时间: 20181009
...官方发给我的新代码替换后了,反而报错了: level=1, code=-1, info1=Execute JS Error![TypeError: Attempting to change the setter of an unconfigurable property.]: line = 1075, column = 24, sourceURL = /Users/tsubasa/Library/Developer/CoreSimulator/Devices/565D33C9-E1BA-42BF-87C3-3282FD83...
来源: Laya_社区 发布时间: 20180328
...个图层中。这个图层可以是对象层 也可以是格子 class GameInfo{ private tiledMap: Laya.TiledMap; private sp:Laya.Sprite; constructor(){ console.info("start"); this.init(); } init():void{ Laya.init(800, 700, Laya.WebGL); Laya.loader.load("res/atlas/images.atlas",Laya.H...
来源: Laya_社区 发布时间: 20171125
...meters renders: MeshRenderer[] Returns StaticBatchMeshRender[] merge merge(info: StaticMeshMergeInfo): StaticBatchMeshRender Defined in laya/d3/component/staticmesh/StaticMeshBatchManager.ts:39 Parameters info: StaticMeshMergeInfo Returns StaticBatchMeshRender Globals "laya/d3/component/staticmesh/S...
来源: Laya3.0_api 发布时间: 20231102
...微信小游戏中如何加载XML文件? 使用Laya.loader.load("res/xml/info.xml", Laya.Handler.create(null, onLoadedXML),null,Laya.Loader.XML);来加载xml文件,在网页中能正常加载,在微信小游戏中显示 request:fail invalid url "res/xml/info.xml"。 2018-05-19 添加评论 免...
来源: Laya_社区 发布时间: 20180519