大约有 1,215 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
Laya_社区(675) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(38)
...cheight:"+mc.height); // mc.on(Event.LOADED,this,onComp); // mc.on(Event.COMPLETE,this,onEnd); // mc.x = (Laya.stage.width ) / 2; // mc.y = (Laya.stage.height) / 2; Laya.stage...
来源: Laya_社区 发布时间: 20170804
关于event中只读属性touches,问题,求解 主类: package { import laya.display.Text; import laya.events.Event; import laya.webgl.WebGL; public class DemoTouch { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text...
来源: Laya_社区 发布时间: 20170519
....js:10293) fitDOMElementInArea (laya.core.js:10340) run (laya.core.js:710) event (laya.core.js:494) setScreenSize (laya.core.js:18495) _changeCanvasSize (laya.core.js:18371) run (laya.core.js:9832) _update (laya.core.js:9576) render (laya.core.js:18561) _loop (laya.core.js:18519) loop (laya.core.js:...
来源: Laya_社区 发布时间: 20181020
...tar:Laya.Skeleton; this.factory = new Laya.Templet(); this.factory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.factory.on(Laya.Event.ERROR, this, this.onError); this.factory.loadAni("sp/aa.sk"); this.avatar = this.factory.buildArmature(0); this.avatar.play(0,true); 2017-07-18 添加评...
来源: Laya_社区 发布时间: 20170718
...emoveReference _setCPUMemory _setCreateURL _setGPUMemory clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once restore start destroyUnusedResources popRT pushRT Constructors constructor new RenderTexture2D(width: number, height: numb...
来源: Laya3.0_api 发布时间: 20231115
...按钮点击事件 点击后暂停游戏 this.pauseBtn.on(Laya.Event.CLICK, this, this.onPauseBtnClick); // 初始化UI 显示 this.reset(); } ... "Cannot read property 'on' of undefined" "TypeError: Cannot read property 'on' of undefined at new ...
来源: Laya_社区 发布时间: 20171118
... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTextureCube(size: number, c...
来源: Laya3.0_api 发布时间: 20231102
微信小游戏 Animation 无法监听到Event.COMPLETE anim.on(Event.COMPLETE,this,function onComplete():void{ trace("动画播放完毕了===%%%%%%%%%%%%%%%%%"); } 在微信小游戏中监听不到 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20180416
...ference _setCPUMemory _setCreateURL _setGPUMemory _start clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recycle restore start destroyUnusedResources popRT pushRT Constructors constructor new NativeRenderTexture2D(width: number...
来源: Laya3.0_api 发布时间: 20231115
...earReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addEvent destroy duration event hasListener hermiteCurveSplineWeight isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Object literals tween Constructors constructor new AnimationClip2D(): AnimationClip2D Ov...
来源: Laya3.0_api 发布时间: 20231115