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

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

111. laya.ani.AnimationPlayer_API3.0 [ 85%]

...lass AnimationPlayer AnimationPlayer 类用于动画播放器。 Hierarchy EventDispatcher AnimationPlayer Index Constructors constructor Properties isCache playbackRate returnToZeroStopped Accessors cacheFrameRate cacheFrameRateInterval cachePlayRate currentAnimationClipIndex currentFrameTime curre...

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

112. laya.d3.animation.AnimationClip_API3.0 [ 85%]

...earReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addEvent destroy duration event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources load Constructors constructor new AnimationClip(): AnimationClip Overrides Resource.__constructor Defined in laya...

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

113. laya.resource.TextResource_API3.0 [ 85%]

...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new TextResource(data: any, format: TextResourceFormat): TextResource Overrides Resource.__constructor Defined ...

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

114. 为什么 Event 事件触发不了? [ 85%]

为什么 Event 事件触发不了? 这是我的代码:  var Block = new Sprite(); Laya.stage.addChild(Block); Block.graphics.drawRect(300, 200, 50, 50, "#000"); Block.pos(300, 100); Block.on(Event.MOUSE_DOWN, this, function() {     console.log(1); });   点击无效,但我给用 Laya.sta...

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

115. ANDORID 切后台 怎么监听啊 [ 85%]

... 怎么监听啊 ANDORID 切后台 怎么监听啊?  Laya.stage.on(Laya.Event.BLUR, this, this._on_blur); Laya.stage.on(Laya.Event.FOCUS, this, this._on_focus);这个没有用啊。 2018-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

116. websocket无法连接 [ 85%]

...Url("ws://"+host+":"+port+"/hoopster"); //建立连接 this.socket.on(Laya.Event.OPEN, this, onOpen); this.socket.on(Laya.Event.MESSAGE, this, onReceive); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler);   以上代码,host传...

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

117. laya.components.AnimatorController2D_API3.0 [ 85%]

...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new AnimatorController2D(data: any): AnimatorController2D Overrides Resource.__constructor Defined in laya/comp...

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

118. Native1.0.1 无法连接wss [ 85%]

...a.Socket(); this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.on(Laya.Event.OPEN, this, this.onConnectSuccess); this.socket.on(Laya.Event.CLOSE, this, this.onDisonnect); this.socket.on(Laya.Event.ERROR, this, this.onConnectFail); this.socket.on(Laya.Event.MESSAGE, this, this.onReceive); this.so...

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

119. laya.resource.AtlasResource_API3.0 [ 85%]

...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new AtlasResource(dir: string, textures: Array<Texture>, frames: Array<Texture>): AtlasResource Ove...

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

120. laya.d3.component.animator.AnimatorController_API3.0 [ 85%]

...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once updateTo destroyUnusedResources Constructors constructor new AnimatorController(data: any): AnimatorController Overrides Resource.__constructor Defined in laya...

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