大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...alse); Laya.loader.load(this.AllPng,new Laya.Handler(this,this.onCallBack),null,Laya.Loader.BUFFER); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onKey); //######################################################################## } private curStatus:boolean = false; private refreshCamera(){ this.curSt...
来源: Laya_社区 发布时间: 20220815
...oid Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:472 重算包围盒 null need Update by child contents need Update by List Returns void removeCell removeCell(cell: IBoundsCell): void Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:293 remove one Cell Parameters cell: IBoundsCell Returns vo...
来源: Laya3.0_api 发布时间: 20231115
...height: number = 0.1 角色脚步高度。 Default value upAxis: Vector3 = null 角色Up轴 Default value collisionGroup: number = Physics3DUtils.COLLISIONFILTERGROUP_DEFAULTFILTER 所属碰撞组。 Default value canCollideWith: number = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER 可产生碰撞...
来源: Laya3.0_api 发布时间: 20231115
...ou are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.Object.get_name () (at C:/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:189) n.a (UnityEngine.Mesh A_0, System.String A_1, System.Boolean ...
来源: Laya_社区 发布时间: 20201218
...static get instance(): ProtoPool { if (this._instance == null) { this._instance = new ProtoPool(); } return this._instance; } } } 2017-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20170807
...Handler.create(this, onAssetLoaded), loaderHandler.create(this, onLoading, null, false)); // 侦听加载失败 Laya.loader.on(Event.ERROR, this, onError); this.moveover =true; function onAssetLoaded(texture) { console.log("加载结束"); ...
来源: Laya_社区 发布时间: 20171024
...rivate function OnShow():void { // TODO Auto Generated method stub if(pop==null){ pop = new TestDialogUI(); pop.btn_close.clickHandler = new Handler(this,function(){pop.parent.removeChild(pop);}); } this.addChild(pop); } private function StartMove(len:int):void { trace("[TestView.StartMove]") // TOD...
来源: Laya_社区 发布时间: 20171129
...ob对象,来获得HTMLImageElement对象 Laya.loader.fetch( "" ,"image", null, option).then((res)=>{ //创建Texture2D var t2d: Texture2D = new Texture2D(res.width, res.height, TextureFormat.R8G8B8A8, false, false, true); t2d.setImageData(res, true, false); //创建Texture var texture: Texture ...
来源: Laya3.0_文档 发布时间: 20230303
... { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") complete = param; if (progress instanceof Handler) { let h = progress; progress = (value: number) => h.runWith(value); } // @ts-ignore return Scene._load(url, progress).then(scene...
来源: Laya_社区 发布时间: 20250609
...用法示例:** **派发:** ``` 派发对象.event(type:String,data:*=null); ``` **监听:** ``` 派发对象.on(type,caller,listener,args); ``` ## 五、LayaAir与AS3的差异 在Flash AS3的原生API写法中可以直接继承Sprite,但是LayaAir引擎里主文档类入口(初始化引擎...
来源: Laya2.0_文档 发布时间: 20191206