大约有 394 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0065 秒)
...中的Button等控件? export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name"...
来源: Laya_社区 发布时间: 20200228
...是不是哪里没用对?并不能替换是为什么?? laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! 关于动画ani文件,编辑ani文件需不需要使用loadanimation方法加载?在最开始的加载吗?还有 我只加载动画...
来源: Laya_社区 发布时间: 20170926
...hy Box List Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize cacheContent disableStopScroll hitTestPrior mouseHandler mouseThrough name renderHandler selectEnable selectHandler tag totalPage drawtocanvCtx Accessors _isHeightSet _isWidthSet active active...
来源: Laya3.0_api 发布时间: 20231115
... HScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimi...
来源: Laya3.0_api 发布时间: 20231115
... VScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimi...
来源: Laya3.0_api 发布时间: 20231115
...t TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 自定义场景类导出layaMaxUI.ts有前缀导致报错 我...
来源: Laya_社区 发布时间: 20201103
....Stage.SCREEN_NONE; Laya.Stat.show(); //加载插件导出的场景。 var scene = Laya.Scene3D.load("LayaScene_xfg/layaScene.ls",Laya.Handler.create(this,function(_s){ Laya.stage.addChild(_s); })); 这样还是报错 说secne是void
来源: Laya_社区 发布时间: 20180802
... 提交 1 个回复 Laya_Fred 赞同来自: 您好,您将脚本挂载到scene2D即可解决问题,在挂载到Scene3D上的时候,触发事件DOWN在点击到cube时候触发了,此时target为cube,需要在stage上添加DOWN的点击事件即可了;要注意区分事件触发作用域...
来源: Laya_社区 发布时间: 20240226
...bject' of undefined matter中layasprite怎么改变图片大小? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 mac 用layaair2.0 ide 的编辑模式下,cpu爆满 IDE通过.ui自动生成的ui代码报错 IDE编辑模式,一片黑,打...
来源: Laya_社区 发布时间: 20170829
...错 如何在PC端浏览器的调试面板调用滚动条? laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! 有没有克隆控件的方法,prefab能否在代码上调用 js开发微信小游戏,如何调用手机相册,选择图片操作 问...
来源: Laya_社区 发布时间: 20171115