大约有 1,587 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0047 秒)
Laya_社区(1114) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(52) Laya3.0_api(11) Laya2.0_api(2)
macOS sierra 1.7.9 正式版 无法发布资源 无法发布资源到res/atlas目录 出现如下错误: /Applications/LayaAirIDEMac_1.7.9.app/Contents/Resources/app/out/vs/layaEditor/libs/TP/atlas-generator: Permission denied at ChildProcess.exithandler (child_process.js:223) at emitTwo (events....
来源: Laya_社区 发布时间: 20170829
...dardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/freegeek logo 0418 yuanjiao Ss.png"); box.meshRender.material = material; Laya.loader.create("cj\cj-default001.lm",Laya.Handler.create(this,this.onCreateComplete)); function onCreateComplete(...
来源: Laya_社区 发布时间: 20180427
...ar material:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(null, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####
来源: Laya2.0_文档 发布时间: 20210714
...ePath方法。 例如: material.diffuseTexture = Laya.Texture2D.load("res/layabox.png");box.meshRender.material = material;Laya.URL.basePath = "https://XXXX.com";//请把XXXX换成自己的真实网址;//在此之下,再使用load加载资源,都会自动加入URL网址。从网络上动...
来源: Laya_社区 发布时间: 20180718
...dn.bcebos.com/2 ... 3B%3B Laya.loader.load(_url, Laya.Handler.create(this, res => { let a = new Laya.Image(_url); Laya.stage.addChild(a); })) 以下是安卓层面输出日志:09-22 11:08:10.811 27895-28111/? D/jswrapper: JS: [WARN]: [warn]Retry to load: https://lupic.cdn.bcebos.com/2 ... 0.jpg...
来源: Laya_社区 发布时间: 20200922
...装的里面报错了 , 用的官网的例子 private SWFPath: string = "res/example1.swf"; 就只有这里改了 /** *从字节流的当前字节偏移量位置处读取一个 Int16 值。 *@return Int16 值。 */ __proto.getInt16=function(){ ...
来源: Laya_社区 发布时间: 20181025
...tangle = new Laya.Rectangle(); //创建TiledMap地图 this.tMap.createMap("res/TiledMap/orthogonal-outside.json",viewRect,null); //初始化舞台 Laya.init(Laya.Browser.width,Laya.Browser.height,Laya.WebGL); } } new GameMain(); 报错信息: (ele=(childs [i]))._style.visib...
来源: Laya_社区 发布时间: 20180203
...的 1599732437用户 • 2021-02-21 02:00 [WARN]: [error]Failed to load: res/sound/xieshibg.mp3 预加载声音文件会提示错误,其他类型文件没有报错
来源: Laya_社区 发布时间: 20210201
....m_templet.on(Laya.Event.ERROR,this,this.onError); this.m_templet.loadAni("res/spine/goblins/goblins.sk"); } private onError():void { console.log("parse error"); } private parseComplete() : void { let skeleton0 : Laya.Skeleton; skeleton0 = this.m_templet.buildArmature(1); skeleton0.pos(200,700); ske...
来源: Laya_社区 发布时间: 20180126
...上去的,有这段代码之后我直接用Laya.SoundManager.playSound("res/sound/bullet.mp3");播放子弹声音的时候会报错一次提示我 "Failed to set the 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.",我把这段代码注释掉之后...
来源: Laya_社区 发布时间: 20180914