大约有 2,497 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0078 秒)
Laya_社区(1888) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(32)
...接 this.socket.connectByUrl("ws://45.78.**.**:3000"); this.socket.on(Laya.Event.OPEN, this, openHandler); this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); this.socket.on(Laya.Event.CLOSE, this, closeHandler); this.socket.on(Laya.Event.ERROR, this, errorHandler); function openHandler(event)...
来源: Laya_社区 发布时间: 20180125
... All Classes | Index | Frames No Frames StageProperties | Methods | Events | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage ...
来源: laya_api 发布时间: 20170929
...("../../res/threeDimen/skinModel/Zombie/new/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { //获取Animator动画组件 zombieAnimator = zombie.getChildAt(0).getComponentByType(Laya.Animator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","...
来源: Laya_示例 发布时间: 20241118
...链接 提交 1 个回复 cuixueying 赞同来自: function TestUI() { var Event = laya.events.Event; TestUI.super(this); this.ani1.play(15);//play的第一个参数是从第几帧开始播放 Laya.stage.on(Laya.Event.CLICK,this,onClick); } Laya.class(TestUI, "TestUI", TestPageUI); function onClick(...
来源: Laya_社区 发布时间: 20170526
...会有问题。package util { import laya.ani.swf.MovieClip; import laya.events.Event; import laya.events.EventDispatcher; import laya.net.Loader; import laya.utils.Handler; public class BeforLoader extends EventDispatcher { public static const BEFORLOADERFINISH:String = "BeforLoaderFinish"; private...
来源: Laya_社区 发布时间: 20161213
....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
...eReference _setCPUMemory _setCreateURL _setGPUMemory destroy disposeBitmap event getCachedClip getPixels getTexturePixels hasListener isCreateFromURL load off offAll offAllCaller on once recoverBitmap setTo create createFromTexture destroyUnusedResources Constructors constructor new Texture(source?:...
来源: Laya3.0_api 发布时间: 20231115
...' + i) as Laya.Image; console.log(e); e.on(Laya.Event.CLICK, this, this.onBtnClick); } 按钮事件 private onBtnClick(event:Laya.Event): void { let b = event.currentTarget as Laya.Image; console.log('onClickLevel > ' + b.skin); this.removeSelf(); Lay...
来源: Laya_社区 发布时间: 20190802
...e { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800...
来源: Laya2.0_文档 发布时间: 20210714
...e { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800...
来源: Laya2.0_文档 发布时间: 20200929