大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0097 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...版本修复: /** * @private * 加载声音。 * @param url 地址。 */ public function load(url:String):void { if (!MiniFileMgr.isLocalNativeFile(url)) { url = URL.formatURL(url); }else { if (url.indexOf("http://") != -1 || url.indexOf("https://") != -1) { if(MiniFileMgr.loadPa...
来源: Laya_社区 发布时间: 20180503
...s=laya.net.LoaderManager) 。 ```typescript ...... //批量预加载方式 public function PreloadingRes() { //预加载所有资源 var resource:Array = ["res/threeDimen/scene/TerrainScene/XunLongShi.ls", "res/threeDimen/skyBox/skyBox2/skyBox2.lmat", "res/threeDimen/texture/earth.png", "res/threeDi...
来源: Laya2.0_文档 发布时间: 20210715
... * @return 返回Tween对象。 */ public function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false):Tween { return _create(target, props, duration, ease,...
来源: Laya_社区 发布时间: 20180621
...RuntimeProxy.java中的getExpansionMainPath这个方法,改成如下: public String getExpansionMainPath() { return "/storage/emulated/0/com.layabox.conch5/resource.zip"; } 这样应该是能够对应上的,因为我看读取logo.png的时候已经到这个zip文件中查找了,但...
来源: Laya_社区 发布时间: 20180327
...d3.js /** * 初始化 */ public Setup():void { UIID.DEFAULT_WIDTH = 960; UIID.DEFAULT_HEIGHT = 640; //Laya.init(UIID.DEFAULT_WIDTH,UIID.DEFAULT_HEIGHT, Laya.WebGL); L...
来源: Laya_社区 发布时间: 20170802
...擎类中的WebAudioSound类的dispose方法改了,改成了这样: public function dispose():void { delete _dataCache[url]; delete __loadingSound[url]; this.audioBuffer = null; this.data = null; this.__toPlays = []; super.dispose(); } 如果不添加最后4行代码的话,每次切换...
来源: Laya_社区 发布时间: 20180205
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/AtlasResource" AtlasResource Class AtlasResource 大图合集资源 Hierarchy Resource AtlasResource Index Constructors constructor Pro...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsComponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Componen...
来源: Laya3.0_api 发布时间: 20231115
...Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 *...
来源: Laya3.0_文档 发布时间: 20251010
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorController" AnimatorController Class AnimatorController Hierarchy Resource AnimatorController Index Constructors c...
来源: Laya3.0_api 发布时间: 20231115