• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 701 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)

61. laya.d3.core.render.ScreenTriangle_API3.0 [ 82%]

...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

62. laya.ani.AnimationPlayer_API3.0 [ 82%]

...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

63. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 82%]

...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

64. laya.resource.TextResource_API3.0 [ 82%]

...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

65. 关于官方技术文档中《微信飞机大战》实战开发中监听界面是否关闭 [ 82%]

...》实战开发中监听界面是否关闭 //监听界面是否关闭 this.once(Event.CLOSE,this,onClose); /** * 界面关闭 */ private function onClose():void { console.log("GameStart界面关闭!"); //从舞台移除自己 this.removeSelf(); //只加载一次,因此直接消毁自己 this.des...

来源: Laya_社区 发布时间: 20180711

66. 关于HttpRequest [ 82%]

...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

67. laya.components.AnimatorController2D_API3.0 [ 82%]

...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

68. laya.resource.AtlasResource_API3.0 [ 81%]

...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

69. 使用fairygui加载网络图片资源时,laya.core.js中的drawTexture会报错 [ 81%]

....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

70. laya.d3.component.animator.AnimatorController_API3.0 [ 81%]

...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