大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0099 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
...)->编译常量(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
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
...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
...192.168.1.2", 8899); //如果需要wss安全协议,第5个参数需要为true。 // let socket = new Laya.Socket("192.168.1.2", 8899, null, null, true); 2.1.2 connect 方法 先创建 Socket 对象,再调用 connect(host, port) 建立连接。 let socket = new Laya.Socket(); socket.connect("192....
来源: Laya3.0_文档 发布时间: 20251010
...变化,如果想根据绘制内容获取宽高,可以设置本属性为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
...xt/css' href='html/test.css'/> * * style支持的属性如下: * italic:true|false; 是否是斜体 * bold:true|false; 是否是粗体 * letter-spacing:10px; 字间距 * font-family:宋体; 字体 * font-size:20px; 字体大小 * font-weight:bold:none; 字体是否是粗体,功能同bold * colo...
来源: Laya3.0_文档 发布时间: 20230303
... override public function destroy(destroyChild:Boolean = true):void { if(effect3D != null){ effect3D.destroy(); effect3D = null; } super.destroy(true); ...
来源: Laya_社区 发布时间: 20180517
...itter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } })(); 这个例子 是不是说明 粒子有内存泄漏? 我不断new Particle2D 100ms后销毁该实例 我也调用了sp.desotry(true) 内存...
来源: Laya_社区 发布时间: 20170103
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115