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

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

11. laya.device.motion.Accelerator_API3.0 [ 93%]

...ma使用beta。 目前孰是孰非尚未可知,以此为注。 Hierarchy EventDispatcher Accelerator Index Constructors constructor Accessors instance Methods event hasListener off offAll offAllCaller on once getTransformedAcceleration Constructors constructor new Accelerator(): Accelerator Define...

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

12. laya.events.EventDispatcher_API3.0 [ 93%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/EventDispatcher" EventDispatcher Class EventDispatcher EventDispatcher 类是可调度事件的所有类的基类。 Hierarchy EventDispatcher Resource Node Transform3D SoundChannel Sound HttpRequest Loader AnimatorSta...

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

13. laya.media.SoundChannel_API3.0 [ 92%]

...放时间、总循环次数、播放地址等信息的方法。 Hierarchy EventDispatcher SoundChannel Index Properties completeHandler isStopped loops startTime url Accessors duration position volume Methods event hasListener off offAll offAllCaller on once pause play resume stop Properties complet...

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

14. laya.net.HttpRequest_API3.0 [ 92%]

...请求被重置,从而得不到之前请求的响应结果。 Hierarchy EventDispatcher HttpRequest Index Accessors data http url Methods event hasListener off offAll offAllCaller on once reset send Accessors data get data(): any Defined in laya/net/HttpRequest.ts:192 返回的数据。 Returns an...

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

15. on和off的bug [ 92%]

on和off的bug 是这样的,我写了类似这样的代码a.on(Laya.Event.MOUSE_DOWN, this, onStartDrag); 之后我想去掉拖动,就写了a.off(Laya.Event.MOUSE_DOWN, this, onStartDrag); 但发现不行,于是我改成a.offAll(); 就可以了。 需要说明的是onStartDrag是函数内定...

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

16. 在微信分享成功的回调函数里,Laya播放音效失败。 [ 91%]

...his, this.onLoop); //移除舞台的鼠标移动事件 Laya.stage.off(Laya.Event.MOUSE_MOVE); }  //恢复 GameEx.prototype.resume = function () { //在循环中创建敌人 Laya.timer.frameLoop(1,this,this.onLoop); console.log("恢复播放音乐") Laya.SoundManager.stopMusic(); Laya.SoundManager.p...

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

17. laya.d3.webxr.core.WebXRInput_API3.0 [ 91%]

...RInput Class WebXRInput author miner 类用来描述输入设备 Hierarchy EventDispatcher WebXRInput Index Constructors constructor Properties _lastXRPose gamepadAxis gamepadButton handness lastXRPose position ray rotation EVENT_FRAMEUPDATA_WEBXRINPUT HANDNESS_LEFT HANDNESS_RIGHT Methods addAxisEve...

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

18. laya.d3.component.animator.AnimatorState_API3.0 [ 91%]

...Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispatcher AnimatorState Implements IClone Index Constructors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name speed EVENT_OnStateEnter EVENT_OnStateExit EVENT_OnStateLoop EVENT_OnStateU...

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

19. laya.components.AnimatorState2D_API3.0 [ 90%]

...2D Class AnimatorState2D Animator 类用于创建动画组件。 Hierarchy EventDispatcher AnimatorState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll of...

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

20. 计时器-延迟执行 [ 90%]

...ya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { const Event = Laya.Event; let vGap = 100; this.button1 = this.createButton("点我3秒之后 alpha - 0.5"); this.button1.x = (Laya.stage.width - this.button1.width) / 2; this.button1.y = (Laya.stage.height - this.button1.height - v...

来源: Laya2.0_示例 发布时间: 20241002