大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0087 秒)
Laya_社区(2610) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya_示例(83) Laya3.0_文档(76) Laya2.0_示例(45)
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
...都可以触发点击事件,但在UI3D中,虽然设置了Enable Hit为true,但只能触发根节点的Button的点击事件 2. BillBoard为true的时候无法设置Sprite3D的scale 附件 : --> LayaProject10.zip 2023-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20230911
...5 12:26 请问具体要怎么操作,是在开放域声明MiniAdpter.init(true,true)吗? 云淡风清 • 2019-01-17 18:35 同問
来源: Laya_社区 发布时间: 20181105
...ompilerOptions": { "module": "commonjs", "target": "es5", "noEmitHelpers": true, "importHelpers": true, "sourceMap": false, "lib":[ "es5", "dom", "es2015.promise" ] }, "exclude": [ "node_modules" ] } 其中lib用来支持promise,importHelpers用来支持 async/await功能 编译即可,如果...
来源: Laya_社区 发布时间: 20190520
...d3/core/Camera.ts:368 清除标记。 enableRender enableRender: boolean = true Inherited from Camera.enableRender Defined in laya/d3/core/Camera.ts:366 是否允许渲染。 name name: string = "" Inherited from Node.name Defined in laya/display/Node.ts:59 节点名称。 Optional tag tag: string I...
来源: Laya3.0_api 发布时间: 20231115
...)->编译常量(Compiler Constats),写入 CONFIG::cn,false CONFIG::en,true 如图: 2.在代码中写入 CONFIG::cn{ [Embed(source="ui_cn.swf", mimeType="application/octet-stream")] private const _Ui_SWF:Class; } CONFIG::en{ [Embed(source="ui_en.swf", mimeType="applica...
来源: Laya_社区 发布时间: 20160323
...Resource.lock Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource....
来源: Laya3.0_api 发布时间: 20231102
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
2.0版本的子域还需要初始化MiniAdpter吗? Laya.MiniAdpter.init(true,true); Laya.init(640,1136); 这样初始化,在opendata工程里会报错 Uncaught TypeError: Cannot read property 'init' of undefined at new Main (Main.ts:11) at Object.1../views/Rank (layaMaxUI.ts:1) at o (_prelude.j...
来源: Laya_社区 发布时间: 20181019
... override public function destroy(destroyChild:Boolean = true):void { if(effect3D != null){ effect3D.destroy(); effect3D = null; } super.destroy(true); ...
来源: Laya_社区 发布时间: 20180517