大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...失败: /** *@inheritDoc */ __proto.onAsynLoaded=function(url,data,params){ var json=data[0] if (json.type!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use...
来源: Laya_社区 发布时间: 20180101
... __proto__.checkList=function(){ this.publicloader=new URLLoader(); this.publicloader.dataFormat=/*iflash.net.URLLoaderDataFormat.VARIABLES*/"variables"; this.publicloader.addEventListener(/*iflash.events.Event.COMPLETE*/"comple...
来源: Laya_社区 发布时间: 20151217
...Mode="horizontal"; //加载FGUI中的文件 var ProgressBar,resArray; Laya.loader.load([ {url:"res/Public.fui",type:laya.net.Loader.BUFFER}, {url:"res/Public@atlas_ucn9w.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas_ucn90.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas0.png",type...
来源: Laya_社区 发布时间: 20171207
...ox; //为天空盒加载贴图文件 skyBox.textureCube = Laya.TextureCube.load("res/skyBox1/skyCube.ltc"); 但发布到微信小游戏时,启动报错,请问是什么问题: gameThirdScriptError Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the ...
来源: Laya_社区 发布时间: 20180307
... } else { new LoadDebugConfig( launchGame ); } } public static function showDebug(val:String):void { if (debug_txt) { debug...
来源: Laya_社区 发布时间: 20200217
....alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load(compassImgPath, Handler.create(this, init)); })(); function init() { // 创建罗盘 createCompass(); // 创建方位指示器 createDirectionIndicator(); // 画出其他UI drawUI(); // 创建显示角度的文本...
来源: Laya_示例 发布时间: 20260303
...les/graceful-fs/fs.js:1:37) at Module._compile (internal/modules/cjs/loader.js:956:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10) at Module.load (internal/modules/cjs/loader.js:812:32) at Function.Module._load (internal/modules/cjs/loader.js:724:...
来源: Laya_社区 发布时间: 20210420
如何获取animation的node节点? 参考图示,ani文件load成animation之后 ,我想在代码里面获取node节点并且修改属性,有什么方法,貌似animation对象里面获取不到任何子节点。 附件 : --> 2019-02-15 添加评论 已悬赏15元 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190215
...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, atlas:Boolean = false, atlasPath:String = null):void 加载资源。 MovieClip loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属...
来源: Laya2.0_api 发布时间: 20190513
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(compassImgPath, Handler.create(this, this.init)); } init() { const Gyroscope = Laya.Gyroscope, Event = Laya.Event; // 创建罗盘 this.createCompass(); // 创建方位指示器 this.createDirectionIndicator(); //...
来源: Laya2.0_示例 发布时间: 20260303