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

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

301. 子容器的事件问题 [ 86%]

...wTest(); //testUI.addChildAt(vhvt, 0); testUI.addChild(vhvt); vhvt.on(laya.events.Event.CLICK, this, (event: Laya.Event) => { console.log("为什么这里不进来"); }); } /**  * ViewHeadViewTest  */ class ViewHeadViewTest extends Laya.Sprite {     constructor() {         super();     ...

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

302. 性能测试-骨骼 [ 86%]

...; } onAssetsLoaded() { const Loader = Laya.Loader, Templet = Laya.Templet, Event = Laya.Event; let tTexture = Loader.getRes(mTexturePath); let arraybuffer = Loader.getRes(mAniPath); mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.parseData(tTexture, arraybuf...

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

303. Laya.EventDispatcher off 删除侦听器 [ 86%]

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

304. 编译部署到layaCloud正式环境报错 [ 86%]

...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

305. TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 86%]

TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. 按照官方实例骨骼动画里的多纹理写的代码。 一运行就报这个错误   附件 : --> demo.zip 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

306. laya.display.BitmapFont_API3.0 [ 86%]

...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

307. laya.events.EventDispatcher [ 86%]

...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

308. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 86%]

...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

309. laya.events.EventDispatcher [ 86%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses HttpRequest, Loader, LoaderManager, Node, Socket, Sound, SoundChannel, Texture, TimeLine EventDispatcher ...

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

310. laya.resource.HTMLCanvas_API3.0 [ 86%]

...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