大约有 2,666 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)
Laya_社区(2033) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(50)
...(0, 0, btn.width, btn.height, "#ff00ff"); Laya.stage.addChild(btn); btn.on(Event.MOUSE_DOWN, this, function():void { btn.filters = [new GlowFilter("#ff0f0f")]; } ); btn.on(Event.MOUSE_UP, this, function():void { btn.filters = null; } ); 附件 : --> myLaya_demo1.zip 2018-12-21 添加评论 免费帖...
来源: Laya_社区 发布时间: 20181221
...TypeError: Cannot read property 'props' of undefined Cannot read property 'events' of undefined 发布微信小游戏,报错Cannot read property 'events' of undefined 实例碰撞体报错,Cannot read property 'btSphereShape' of undefined 添加组件PhysicsCollider 时报 Cannot read property '...
来源: Laya_社区 发布时间: 20180716
...ockArea.cs:340) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:295) UnityEngi...
来源: Laya_社区 发布时间: 20201218
...效 我想利用hitTestPrior进行鼠标事件监测: viewStack.on(Laya.Event.MOUSE_DOWN, this, this.onStageMouseDown); img.on(Laya.Event.MOUSE_DOWN, this, this.onImageMouseDown); viewStack.addChild(img); 然而不管设置是true还是false,都是子元素先检测到mousedown事件,请问...
来源: Laya_社区 发布时间: 20170917
... All Classes | Index | Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的...
来源: laya_api 发布时间: 20170929
...按钮,会显示下一层界面,同时隐藏自己 this.btnFirst.on(Laya.Event.CLICK, this, this.change, [0]); //点击上面一层的按钮,会隐藏该层,同时显示上一层 this.btnChange.on(Laya.Event.CLICK, this, this.change, [1]); //初始时默认上面一层不可见 this.layoutSeco...
来源: Laya_社区 发布时间: 20180810
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...ileMgr.filesListObj[sourceUrl]; thisLoader.event(Laya.Event.ERROR, "Load image failed"); }; 附件 : --> 2020-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...
来源: Laya_社区 发布时间: 20200427
...elo/pomelo-client.js"></script> 另外,pomelo-client.js里的 var EventEmitter = window.EventEmitter; 修改为 var EventEmitter = window.Emitter; 不然可能会遇到EventEmitter未定义的报错。 最后,关于.d.ts文件,这只是代码提示的作用,没有也可以调用...
来源: Laya_社区 发布时间: 20180109
...来自: 如果你想判断是否旋转了,你可以为你的游戏添加Event.RESIZE事件即可,根据Browser.width和Browser.height的获取,可以判断当前屏幕的尺寸,以此来判断是否进行了屏幕旋转! 2018-01-15 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20180115