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

大约有 1,144 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0084 秒)

1111. laya.media.VideoNode_API3.0 [ 38%]

...器。功能同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

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

...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

1113. laya.display.Scene_API3.0 [ 37%]

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

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

1114. 2.x引擎项目升级指南 · LayaAir3.0文档 · LAYABOX [ 37%]

...事件监听方式和Laya.Script命名函数方式处理输入。例如: this.aNode.on(Laya.Event.CLICK, ()=> { console.log("clicked"); }); class MyScript extends Laya.Script { //脚本事件 onMouseClick(e:Event) { console.log("clicked"); } } aNode.addComponent(MyScript); 以上两种方式是...

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

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

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

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

1116. laya.ui.Slider_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

1117. laya.ui.Image_API3.0 [ 36%]

...宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.onInit(); } private onInit(): void { var bg: laya.ui.Image = new laya.ui.Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//设置 bg 对象的属性 x 的值,...

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

1118. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 36%]

...on Laya.loader.load([{url: "res/Image.json", type: "plf"}], Handler.create(this, function():void { //在回调里,正常使用原来的图集 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new S...

来源: Laya2.0_文档 发布时间: 20210714

1119. laya.display.Stage_API3.0 [ 35%]

...器。功能同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

1120. laya.ui.View_API3.0 [ 35%]

...器。功能同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