大约有 260 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya_社区(237) Laya2.0_文档(13) Laya3.0_文档(4) Laya2.0_api(3) laya_api(1) Laya3.0_api(1) Laya2.0_示例(1)
...返回Prefab; 解决方式: Laya.loader.load("prefab/hero.json", Laya.Handler.create(this, function (obj) { console.log('hero',obj); }), null, Laya.Loader.PREFAB); Laya.loader.create("prefab/WeiTiao.json", Laya.Handler.create(this, ...
来源: Laya_社区 发布时间: 20211026
...。 */ public function load(url:*, complete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 2018-04-18 0 0 分享 微博 QZONE 微信 w1114367261 赞同...
来源: Laya_社区 发布时间: 20180418
... { import laya.display.Sprite; import laya.display.Text; import laya.utils.Handler; /** * ... * @author ww */ public class TestTTFLoader { public function TestTTFLoader() { Laya.init(1000, 900); Laya.loader.load("res/remember.ttf",new Handler(this,test)); } private function test():void ...
来源: Laya_社区 发布时间: 20191211
...,就分享给大家。 //首先是加载资源 Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this.onLoading, null, false)); /** * 加载资源进度 * @param percent 百分比 */ private onLoading(percent: number): void { this.view.box_mark.graphics.dr...
来源: Laya_社区 发布时间: 20190629
...t android.content.Intent; import android.os.Environment; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.util.Log; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import demo.MainActivity; import layaair.game.brows...
来源: Laya_社区 发布时间: 20170722
...zz.shoujiyeyou.net/ ... ot%3B, "https://xxdzz.shoujiyeyou.net/ ... ot%3B], Handler.create(this, this.onLoaded), null, "json"); Laya.loader.load(["https://xxdzz.shoujiyeyou.net/mmphp/19.png"], Handler.create(this, this.nlll), null, "image"); 一样的代码,上面加载json就可以,下面...
来源: Laya_社区 发布时间: 20191024
... = 0; Laya.Tween.to(this.bir, { x: 200, y: 200 }, 2000, () => { }, Laya.Handler.create(this, this.change)); 这里面会直接过两秒执行this.change,而前面x:0->200 y:0->200不会执行 是什么原因?????? 2017-08-09 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20170809
...详细区别是什么? 自从layaflash起,就一直存在的bug Laya.Handler.create和new Laya.Handler有啥区别 LayaAir 3D 有提供 3D 物理引擎功能吗? 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 在初始化...
来源: Laya_社区 发布时间: 20160126
...法有两个,第一个就是this.func.bind(this),第二个就是用new Handler(this,func) 2017-02-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进...
来源: Laya_社区 发布时间: 20170207
...play.Sprite; import laya.resource.Texture; import laya.utils.Handler; public class CupPhone { public function CupPhone() { Laya.init(550,400); Laya.loader.load("walk.png",Handler.create(this,onLoaded));...
来源: Laya_社区 发布时间: 20160506