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

大约有 435 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)

81. 分享:销毁龙骨动画! [ 72%]

...true);//释放龙骨资源 } public function removeEvent():void { mFactory.off(Event.COMPLETE, this, parseComplete); mArmature.off(Event.STOPPED, this, completeHandler); } private function createButton(label:String):Sprite { var w:int = 110; var h:int = 40; var button:Sprite = new Sprite(); button.s...

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

82. laya.d3.resource.models.Mesh_API3.0 [ 72%]

...VertexDeclaration getVertices hasListener isCreateFromURL markAsUnreadbale off offAll offAllCaller on once setBoneIndices setBoneWeights setColors setIndices setNormals setPositions setTangents setUVs setVertices destroyUnusedResources load Constructors constructor new Mesh(isReadable?: boolean): Me...

来源: Laya3.0_api 发布时间: 20231115

83. laya.display.Node_API3.0 [ 71%]

...ChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce Constru...

来源: Laya3.0_api 发布时间: 20231115

84. laya.ani.bone.Templet_API3.0 [ 71%]

...IndexByName getTexture getTotalkeyframesLength hasListener isCreateFromURL off offAll offAllCaller on once setAnimationDataWithCache destroyUnusedResources Constructors constructor new Templet(): Templet Inherited from AnimationTemplet.constructor Overrides Resource.__constructor Defined in laya/ani...

来源: Laya3.0_api 发布时间: 20231115

85. laya.net.Loader_API3.0 [ 71%]

...arTextureRes clearUnLoaded event fetch getRes hasListener load loadPackage off offAll offAllCaller on once cacheRes clearRes clearResByGroup createNodes getAtlas getBaseTexture getRes getTexture2D registerLoader setGroup warn Constructors constructor new Loader(): Loader Defined in laya/net/Loader.t...

来源: Laya3.0_api 发布时间: 20231115

86. 事件管理 · LayaAir3.0文档 · LAYABOX [ 71%]

...tn"); Laya.Scene.open("scenes/UiMain.ls"); }); 2.2.4 删除指定的侦听 off /** * 从 EventDispatcher 对象中删除侦听器。 * @param type 事件的类型。 * @param caller 事件侦听函数的执行域。 * @param listener 事件侦听函数。 * @return 此 EventDispatcher 对象。 */ o...

来源: Laya3.0_文档 发布时间: 20230729

87. laya.resource.Texture2D_API3.0 [ 70%]

...mory destroy event getPixels gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setDDSData setHDRData setImageData setKTXData setPixelsData setSubPixelsData destroyUnusedResources load Constructors constructor new Texture2D(width: number, height: number, format: TextureFor...

来源: Laya3.0_api 发布时间: 20231115

88. laya.d3.core.Transform3D_API3.0 [ 70%]

...etWorldLossyScale globalToLocal hasListener localToGlobal lookAt objLookat off offAll offAllCaller on once rotate rotationTo setWorldLossyScale toDir toLocalNormal translate Properties Static tmpVec3 tmpVec3: Vector3 = new Vector3() Defined in laya/d3/core/Transform3D.ts:882 Accessors localMatrix ge...

来源: Laya3.0_api 发布时间: 20231115

89. 按钮调用on方法,注册了Laya.Event.MOUSE_DOWN后,第一次点击不会被触发,第二次点击才会响应 [ 70%]

...只在app启动后第一次点击会出现,第一次点击后,再使用off取消注册,再on注册,点击是正常的 2018-04-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 18120789265 赞同来自: 我...

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

90. 分享一个虚拟摇杆,比较粗糙,没做优化 [ 70%]

...ve = false; this.isMode = "stop"; //移除弹起和移动事件 this.layer.off(Laya.Event.MOUSE_UP, this, this.upFun); this.layer.off(Laya.Event.MOUSE_MOVE, this, this.moveFun); Laya.Tween.to(this.moveKey, { x: this.moveKey.mode.x, y: this.moveKey.mode.y }, 100) } //鼠标移动事件 ModeKey.protot...

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