大约有 779 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0051 秒)
...步 LayaNative如何选择通过index.js或是runtime.json启动? Laya.loader.create 不会反馈失败状态跟描述不符合 btn状态图片问题 问题状态 最新活动: 2018-11-20 14:04 浏览: 1182 关注: 2 人
来源: Laya_社区 发布时间: 20181108
...请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 通过loader的create去加载完来使用 2018-01-11 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiaochengyong 相关问题 unity导出粒子文件问题 加载到...
来源: Laya_社区 发布时间: 20180111
...代码: import Label = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader; class GameBootstrap{ public constructor(){ this.init(); } private init():void{ //初始化微信小游戏 Laya.MiniAdpter.ini...
来源: Laya_社区 发布时间: 20180529
... addPic(str:String, x:int, y:int) { picUrl = str; picX = x; picY = y; Laya.loader.load(picUrl, Handler.create(this, showBgImg)); } private function showBgImg():void { pic = new Image(); pic.graphics.drawTexture(Laya.loader.getRes(picUrl), picX, picY); Laya.stage.addChild(pic); } } } Main.as packa...
来源: Laya_社区 发布时间: 20170522
....alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load("assets/bg.jpg", Handler.create(this, loadCompleteHandler)); } private function loadCompleteHandler():void { var bg:Image = new Image("assets/bg.jpg"); Laya.stage.addChild(bg); }这张图在三星平板上可以...
来源: Laya_社区 发布时间: 20171124
...bxtool 工具文件你们有吗? 我不要插件,要可执行的exe Laya.loader.create 进度回调函数执行两次 laya2.0如何用命令行执行清理并导出功能 问题状态 最新活动: 2018-10-10 20:11 浏览: 551 关注: 2 人
来源: Laya_社区 发布时间: 20181008
...来的GET参数 如何定义动画播放过某帧后的回调函数 Laya.loader.create 进度回调函数执行两次 怎么停止正在运行Laya.timer.frameLoop的回调函数 点击按钮打开对话框的时候能往对话框中传一个参数吗 对象池对类怎么传参数 IDE中js压缩工...
来源: Laya_社区 发布时间: 20210131
...ar step = 0; Laya.init(1285, 727, Laya.WebGL); var stage = Laya.stage; var loader = Laya.loader; stage.bgColor = "#00ffff"; stage.alignH = "center"; stage.alignW = "middle"; stage.scaleMode = "showall"; loader.load("../../res/guide/crazy_snowball.png", Handler.create(this, init)); function init(e) {...
来源: Laya_社区 发布时间: 20171031
...a.stage.on(Laya.Event.CLICK, this, () => { Laya.loader.load("HallAni/star.part", Laya.Handler.create(this, (settings) => { let Particle2D = Laya.Particle2D; // 创建 Particle2D 实例 ...
来源: Laya_社区 发布时间: 20190808
...元素的item list单个中的单条的button怎么添加点击事件 Laya.loader.create 不会反馈失败状态跟描述不符合 list scroll 1.7.19.1 beta 背景音乐在舞台失焦和静音状态下可能导致的无法播放的异常问题! flashBuilder双击选中当前块的代码 List手...
来源: Laya_社区 发布时间: 20161227