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

大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0121 秒)

4061. 问一个关于小游戏加载图片的问题 [ 36%]

...ly 2 OS which support TLS 1.1 and TLS 1.2 as of now. All the OS’s before this don’t support these 2 protocols.   好了,看了这个图大家应该明白 什么系统可以用了~~ 另附一个查询版本支持的网站,输入你搭好的服务器然后测试一下(要几分钟时间) ...

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

4062. laya.display.Stage_API3.0 [ 36%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231115

4063. laya.ui.View_API3.0 [ 36%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void close close(type?: string): void Inherited from Scene.close Defined in laya/display/Scene.ts:149 关闭场景 【注意】被关闭的场景,如果没有设...

来源: Laya3.0_api 发布时间: 20231115

4064. laya.ui.ScrollBar_API3.0 [ 36%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

来源: Laya3.0_api 发布时间: 20231115

4065. laya.ui.Label_API3.0 [ 35%]

...宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.onInit(); } private onInit(): void { var label: Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 label.bold = true;//设置 label 显示为粗体。 la...

来源: Laya3.0_api 发布时间: 20231115

4066. 自动图集配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...n(() => {//更多资源加载方式,可查看《资源加载》文档 this.owner.skin = "resources/aaa/image.png"; //将图集路径+名称视为小图的资源目录,小图名称就是图集中的原小图名称 }) } } Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine...

来源: Laya3.0_文档 发布时间: 20251128

4067. laya.ui.FontClip_API3.0 [ 35%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

来源: Laya3.0_api 发布时间: 20231115

4068. laya.ui.UIGroup_API3.0 [ 35%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

来源: Laya3.0_api 发布时间: 20231115

4069. [0]laya-zip让你的游戏加载速度提升350%!! [ 35%]

...e:"ZIP",constructParams:["xx/xxx1.lh","xx/xxx2.lh"]}], Laya.Handler.create(this, () => { let player1 = Laya.loader.getRes("xx/xxx1.lh").clone(); let player2 = Laya.loader.getRes("xx/xxx2.lh").clone(); })); [/size][/code]高级 为了根据具体项目来定制压缩包的颗粒度(打几个包...

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

4070. 只要引入protobuf就会导致连接网络失败 [ 35%]

...onfigEventDispatcher.getInstance().on(ConfigEventDispatcher.CFG_PARSE_COM, this, parseCfgCom); // 解析游戏配置表数据 ConfigMgr.dataInfoComplete(); }    ConfigMgr.dataInfoComplete(); 里面有许多异步 这步卡住了  IDE运行没问题 layaTest9.zip 2018-02-08 0 0 分享 微博 QZONE...

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