大约有 474 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0061 秒)
...tBitmapData Cannot find the specified character in all fonts:263c Warning!,this class[MiniAdpter] already exist: Object {init: } 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 问题状态 最新活动: 2019-02-13 11:25...
来源: Laya_社区 发布时间: 20181126
....getInstance().uninit(); } public void login( final String userId){ that = this;//反射需要指定的对像,在抛到主线程后this的对像不一样了,先把他用that存这,如果你们有更好的办法可以说下,我是临时用两天时间边学边做,不太懂JAVA(PS:压根...
来源: Laya_社区 发布时间: 20170722
...s/ui/input (4).png"]; Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资源。 })(); function onLoadComplete() { for (var i = 0; i < skins.length; ++i) { var input = createInput(skins[i]); ...
来源: Laya_社区 发布时间: 20190814
.../PangZi-Take 001.lani",]; Laya.loader.create(resource, Laya.Handler.create(this, this.onPreLoadFinish)); } onPreLoadFinish() { //初始化3D场景 _scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/XunLongShi.ls")); //获取相机 var camera = _scene.getChildByName("M...
来源: Laya2.0_文档 发布时间: 20210715
...priteToAnimationNode=function(sprite,nodeName,isLink){ if (this._avatar){ 这一步必须要有 avatar 文件,但是用新的2.0插件导出的角色不带avatar文件导致无法挂载,可在GameUI.ts 41行下断点调试进入查看。 var actor = Laya.Loader.getRes("res/Lay...
来源: Laya_社区 发布时间: 20191011
... clip.play(); } this.ElementView.addChild(clip); } config.xml本份规矩,老老实实,勤勤恳恳用utf8编码的,长这个样子 <layout> <clip id="1" res="res/logo.png" anchorX="0.5" ancho...
来源: Laya_社区 发布时间: 20170918
...意见? Laya.Scene.load(view.url).then((scene) => { this.openList.set(id, scene); scene.onEnable(); scene.onOpened(param); scene.open(false, param); }); 附件 : --> 2023-12-21 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20231221
...dAtlas("http://10.10.20.58/chicken/res ... ot%3B,laya.utils.Handler.create(this,function(){ //添加到舞台 Laya.stage.addChild(roleAni); roleAni.play(); })); 代码就这几行.... 2018-03-22 0 0 分享 微博 QZONE 微信 wdmingzi2 赞同来自: 只是单纯的调用加载接口 然后...
来源: Laya_社区 发布时间: 20180322
...模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.init(); } private init(): void { var animation:Animation = new Laya.Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation....
来源: Laya3.0_api 发布时间: 20231115
...y 的值,用于控制 clip 对象的显示位置。 clip.on(Event.CLICK, this, onClick);//给 clip 添加点击事件函数侦听。 Laya.stage.addChild(clip);//将此 clip 对象添加到显示列表。 } private function onClick():void { trace("clip 的点击事件侦听处理函数。clip.total...
来源: Laya3.0_api 发布时间: 20231115