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

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

1631. laya.particle.Particle2D_API3.0 [ 73%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1632. 组件Clip(play方法的bug) [ 73%]

组件Clip(play方法的bug) __proto.play=function(from,to){ (from===void 0)&& (from=0); (to===void 0)&& (to=-1); this._isPlaying=true; this.index=from; this._toIndex=to; this._index++;//源码这里没必要吧 2018-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

1633. Tween下的动画速度如何改变? [ 73%]

Tween下的动画速度如何改变? //转盘!! public function rotateFunc(awards,angle,text):void{ isRotated = true; // Laya.timer.frameLoop(1,this,bian,[angle,text]); //缓动动画 Tween.to(pan,{ rotation: -(720+angle) },5000,Ease.bounceOut(0,0,0,5000),Handler.create(this,function():void{ ...

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

1634. laya.media.SoundNode_API3.0 [ 73%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1635. 微信小游戏的50M物理缓存管理(TypeScript-小游戏适配文档-微信小游戏) [ 73%]

...要设置相应的编码,二进制编码为空字符串 */ public static function downLoadFile(fileUrl:String, fileType:String = "",callBack:Handler = null,encoding:String = "ascii"):void ``` #### 3、清除缓存文件 由于微信小游戏的缓存上限是50M物理空间,所以无论自动管...

来源: Laya2.0_文档 发布时间: 20210714

1636. laya.map.GridSprite_API3.0 [ 73%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1637. layaair2-cmd compile 一直报错loader.js:638 throw err; [ 73%]

...r;     ^ Err or: Cannot find module 'remove-trailing-separator'     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Module.require (internal/modules/cjs/loader.js:692:17)     at require ...

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

1638. UI-Label [ 73%]

...ort laya.ui.Label; import laya.webgl.WebGL; public class UI_Label { public function UI_Label() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stag...

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

1639. tween如何更改3d物体位置 [ 73%]

...en.to(box.potOld,{     x:1     ,y:2     ,update:new Laya.Handler(box,function(){         this.transform.position = this.potOld;     }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){     console.log("complete"); }),ConstValue.animationDelay);   ...

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

1640. drawTexture 画出来的数据会有以前的数据 [ 73%]

... var xNum:int = 0; private var yNum:int = 0; private var img:Image; public function TestView() { img = new Image("comp/lhjicon_5.png"); img.x = 640; img.y = 320; iconSpr = new Sprite(); iconSpr.width = 1280; iconSpr.height = 640; iconSpr.addChild(img); btn.on(Event.CLICK,this,runGame1); } private fu...

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