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

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

41. laya.media.SoundChannel [ 80%]

...否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...

来源: Laya2.0_api 发布时间: 20190513

42. 计时器-间隔循环 [ 80%]

...otateTimeBasedText:Text; private var rotateFrameRateBasedText:Text; public function Timer_Interval() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.sca...

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

43. 在开发域绘制list后 显示出来了 但点击会报下面的错误 [ 80%]

...hirdScriptError this._stage._canvasTransform.invertTransformPoint is not a function;at requestAnimationFrame callback function TypeError: this._stage._canvasTransform.invertTransformPoint is not a function at MouseManager.__proto.initEvent (subContext/code.js:2999:32) at MouseManager.__proto.runEven...

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

44. 骨骼动画-换装 [ 79%]

...dex:int = 0; private var mSkinList:Array = ["goblin","goblingirl"]; public function Skeleton_ChangeSkin() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); } public function startFun():void { mAniPath = "../../res/spine/spineRes2/gob...

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

45. 定时器 · LayaAir3.0文档 · LAYABOX [ 79%]

...行,默认为 true 。 */ frameOnce(delay: number, caller: any, method: Function, args: any[] = null, coverBefore: boolean = true): void { this._create(true, false, delay, caller, method, args, coverBefore); } 使用示例如下: const { regClass } = Laya; import { RuntimeScriptBase } from "./Ru...

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

46. UI-ProgressBar [ 79%]

... public class UI_ProgressBar { private var progressBar:ProgressBar; public function UI_ProgressBar() { // 不支持WebGL时自动切换至Canvas //Laya.init(800, 600, WebGL); Laya.init(800, 600); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = S...

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

47. laya.timer.clear这个定时器的回调函数到底怎么用啊?模拟器上不报错,真机运行会抱着个错 [ 79%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function 关于shader中opengl函数问题 laya2 发布微信开放域工程,用微信开发者工具打开报错 问题状态 最新活动: 2018-05-09 18:34 浏览: 1256 关注: 3 人 bbh • 2018-05-09 15:47 我把这个cle...

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

48. 无法清除指定定时器 [ 77%]

...复 w1114367261 赞同来自: Laya.timer.loop(100, this, looppp); private function looppp():void          {             trace("______________________");         } this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void          {             Laya.t...

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

49. 1.5.4_beta,动画播放完毕的监视器很大概率会不起作用了 [ 77%]

...ayAnima(WEAPON_ANIMA_FIRE);     // 播放动画     _proto.PlayAnima = function(anaimaname)     {         // 第一次创建一个动画         if (null == this.mAnimaCur)         {             this.mAnimaCur = new laya.display.Animation();             this.mAnimaCur.i...

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

50. Laya.Pool.getItemByClass 闪退 [ 77%]

...t(type) 调用init方法时候闪退,错误信息是 "fish.init is not a function" "TypeError: fish.init is not a function at Function.CFSprite.reusableFishWithType (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/js/common/CFSprite.js:28:14) at GameView.addFinsh (file:///Users/heboyce/Deskto...

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