大约有 701 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
Laya_社区(289) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
...emory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new ScreenTriangle(): ScreenTriangle Overrides Resource.__constructor Defined in laya/d3/core/render/ScreenTriangle.ts:43 创建一个 ScreenTriangle 实例,禁止使用。...
来源: Laya3.0_api 发布时间: 20231102
...ccessors cacheFrameRate cacheFrameRateInterval cachePlayRate currentAnimationClipIndex currentFrameTime currentKeyframeIndex currentPlayTime currentTime destroyed overallDuration paused playDuration playEnd playStart state templet Methods event hasListener off offAll offAllCaller on once play playBy...
来源: Laya3.0_api 发布时间: 20231115
...er.owner.transform.translate(eat,true,false); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.removeSelf(); return; } } else { var move1 = new Laya.Vector3(0.02, 0, 0); var move2 = new Laya.Vector3(-0.02, 0, 0); Laya.timer....
来源: Laya_社区 发布时间: 20181017
...emory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new TextResource(data: any, format: TextResourceFormat): TextResource Overrides Resource.__constructor Defined in laya/resource/TextResource.ts:23 实例化文字资源 Par...
来源: Laya3.0_api 发布时间: 20231115
...》实战开发中监听界面是否关闭 //监听界面是否关闭 this.once(Event.CLOSE,this,onClose); /** * 界面关闭 */ private function onClose():void { console.log("GameStart界面关闭!"); //从舞台移除自己 this.removeSelf(); //只加载一次,因此直接消毁自己 this.des...
来源: Laya_社区 发布时间: 20180711
...s:string = CommonUtils.urlEncode(obj); var hr = new Laya.HttpRequest(); hr.once(Laya.Event.PROGRESS, this, function (e) { console.log(e); }); hr.once(Laya.Event.COMPLETE, this, function () { console.log(hr.data); }); hr.once(Laya.Event.ERROR, this, function (e) { console.log(e); }); hr.send('http://...
来源: Laya_社区 发布时间: 20170628
...emory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new AnimatorController2D(data: any): AnimatorController2D Overrides Resource.__constructor Defined in laya/components/AnimatorController2D.ts:23 实例化2D动画控制器 ...
来源: Laya3.0_api 发布时间: 20231115
...emory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new AtlasResource(dir: string, textures: Array<Texture>, frames: Array<Texture>): AtlasResource Overrides Resource.__constructor Defined in laya/resource/AtlasR...
来源: Laya3.0_api 发布时间: 20231115
....core.js,所以最后会调用到laya.core.js中, if (!tex.loaded){ tex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,[tex,args]); }执行到这段时,报了tex.once不是一个function的错,但是Texture继承自EventDispatcher,有once这个方法的啊。 http://thir...
来源: Laya_社区 发布时间: 20180724
...emory destroy event hasListener isCreateFromURL off offAll offAllCaller on once updateTo destroyUnusedResources Constructors constructor new AnimatorController(data: any): AnimatorController Overrides Resource.__constructor Defined in laya/d3/component/Animator/AnimatorController.ts:13 Parameters da...
来源: Laya3.0_api 发布时间: 20231115