大约有 2,497 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0087 秒)
Laya_社区(1888) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(32)
Laya.EventDispatcher off 删除侦听器 var eventDis = new Laya.EventDispatcher() eventDis.on('TEST_EVENT_DIS', this, someEventHandler, null) eventDis.off('TEST_EVENT_DIS', this, another_eventHandler, false) off 怎样才能 从 EventDispatcher 对象中删除侦听器? ...
来源: Laya_社区 发布时间: 20180914
...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getMaxHeight getMaxWidth getTextWidth hasListener isCreateFromURL off offAll offAllCaller on once parseFont destroyUnusedResources loadFont Constructors constructor new BitmapFont(): BitmapFont Overrides Resource.__cons...
来源: Laya3.0_api 发布时间: 20231115
...点击区域不生效了 package { import laya.display.Sprite; import laya.events.Event; import laya.renders.Render; public class MoveTest { public function MoveTest() { Laya.init(600,600); var sp:Sprite = new Sprite(); sp.autoSize=true; sp.graphics.drawRect(0,0,100,100,"#ff0000"); sp.on(Event.CLICK...
来源: Laya_社区 发布时间: 20171226
...nction() { var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var Pool = Laya.Pool; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionInd...
来源: Laya_社区 发布时间: 20181120
...e _removeReference _setCPUMemory _setCreateURL _setGPUMemory clear destroy event getContext getMemSize getTexture hasListener isCreateFromURL off offAll offAllCaller on once release size toBase64 toBase64Async destroyUnusedResources Constructors constructor new HTMLCanvas(createCanvas?: boolean): HT...
来源: Laya3.0_api 发布时间: 20231115
...Index | Frames No Frames ShurikenParticleSystemProperties | Methods | Events Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleSystemInheritanceShurikenParticleSystem GeometryFilter EventDispatcher ObjectImplements IRenderable, laya.d3.core.IClone ShurikenParticleSystem 类...
来源: laya_api 发布时间: 20170929
...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses Accelerator, AnimationPlayer, AnimationTransform3D, BaseRender, Component3D, GeometryFilter, Gyroscope, Ht...
来源: laya_api 发布时间: 20170929
[LayaAir3]Laya 3.2.0-beta.3 给UI添加点击事件Laya.Event.CLICK 第一次点击会触发两次 刚刷新进入界面直接点击UI元素才会触发两次,如果先点击旁边位置在点击只会触发一次,疑似聚焦问题。 PS:必须在移动端,或者浏览器模拟移动端触...
来源: Laya_社区 发布时间: 20240924
...IDE_beta\resources\app\node_modules\request\request.js:186:22) at emitTwo (events.js:106:13) at Request.emit (events.js:194:7) at Request.<anonymous> (D:\新安装工具\layabox2.0\LayaAirIDE_beta\resources\app\node_modules\request\request.js:1163:10) at emitOne (events.js:96:13) at Request.em...
来源: Laya_社区 发布时间: 20181224
TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. 按照官方实例骨骼动画里的多纹理写的代码。 一运行就报这个错误 附件 : --> demo.zip 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180305