大约有 57 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
Laya_社区(30) Laya2.0_文档(7) Laya3.0_文档(6) Laya3.0_api(6) Laya2.0_示例(4) Laya_示例(2) laya_api(1) Laya2.0_api(1)
Laya.loader.load(xx) 当地址""的时候,会报错。 laya 引擎是2.5的 Laya.loader.load(cg_url,Laya.Handler.create(this,()=>{ let tur:Laya.Texture = Laya.loader.getRes(cg_url); if(tur)img_cg.graphics.drawImage(tur) ...
来源: Laya_社区 发布时间: 20201130
...; 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 { var text:Text; text = new Text(); text.fontSize = 30;...
来源: Laya_社区 发布时间: 20191211
...:IDE 无插件 自动格式化 AS3 代码 JS代码格式自动整理 请问Loader.load支持支持swf格式的预加载吗? 天空盒 cubemap ltc 格式? layabox能用上webp图片格式么? 问题状态 最新活动: 2017-11-01 14:45 浏览: 1089 关注: 2 人
来源: Laya_社区 发布时间: 20171101
...ler-arm64) (code 199992) 10-13 17:31:15.861 6514-6514/com.vivo.vs I/LibraryLoader: Loading: webviewchromium 10-13 17:31:15.871 6514-6514/com.vivo.vs I/LibraryLoader: Time to load native libraries: 3 ms (timestamps 6259-6262) 10-13 17:31:15.871 6514-6514/com.vivo.vs I/LibraryLoader: Expected native l...
来源: Laya_社区 发布时间: 20181013
...的二进制数据)package { import laya.display.Text; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BU...
来源: Laya_社区 发布时间: 20161219
...件均已创建完毕,此方法只执行一次 */ onAwake(): void { Laya.loader.load(this.skin).then( ()=>{ this.onLoadComplete(); } ); } private onLoadComplete(e: any = null): void { let ta: Laya.TextArea = new Laya.TextArea(""); ta.skin = this.skin; ta.font = "Arial"; ta.fontSize = 18; ta.bol...
来源: Laya3.0_文档 发布时间: 20251010
...以在Laya.MiniAdpter.getFileList()查找到对应缓存 但使用Laya.loader.load预加载图片与atlas时,图片可以正常从usr/layaairGame/中读取 atlas文件依旧从远程读取 如何使atlas从本地路径读取? (虽然atlas文件尺寸不大,但这样不能离线运行...
来源: Laya_社区 发布时间: 20180825
...nLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } function onLoaded(): void { //实例UI界面 new laya.UI_Label(); } 上图为在layaIDE中的显示效果。 不知道具体是什么原因,希望...
来源: Laya_社区 发布时间: 20180529
... "resources/res/ui/input (3).png", "resources/res/ui/input (4).png"]; Laya.loader.load(this.skins).then( ()=>{ this.onLoadComplete(); } ); } private onLoadComplete(): void { for (var i: number = 0; i < this.skins.length; ++i) { var input: Laya.TextInput = this.createInput(this.skins[i]); input...
来源: Laya3.0_文档 发布时间: 20251010
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this....
来源: Laya2.0_示例 发布时间: 20251130