大约有 1,300 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)
Laya_社区(1114) Laya2.0_文档(69) Laya3.0_文档(47) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
...talkScroll); // this.onAction(); // this.onAction = function(){ // console.log("-------------hhhhhhhhhhh "); // } //第一种解决方法 onAction(); function onAction(){ console.log("这是第一种解决方法"); } //第二种解决方法 this.onAction(); } Laya.class(NpcLayer,"NpcLayer",_super); ...
来源: Laya_社区 发布时间: 20171127
...ypeScript三种开发语言、LayaAirIDE让项目开发更高效。let hr, logger; class Network_POST { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支持WebG...
来源: Laya2.0_示例 发布时间: 20240930
...Script三种开发语言、LayaAirIDE让项目开发更高效。let hr, logger; class Network_GET { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支持WebGL...
来源: Laya2.0_示例 发布时间: 20240930
... // lv.addChild(sp); // console.log("添加预制体"); // })); self.camera = scene3d.getChildByName("--- ENVIRONEMENT ---").getChildByName("Main Camera"); self.scene = scene3d; ...
来源: Laya_社区 发布时间: 20220506
排行榜上的玩家头像绘制问题 这是您给的链接 https://blog.csdn.net/LightUpH ... 04366 2018-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 187*****279 赞同来自: 这篇文章写的很详...
来源: Laya_社区 发布时间: 20180516
... updateListItem(cell: BagItem, index: number):void{ console.log("3333333333333"); if (cell.useBtn.clickHandler == undefined) { cell.useBtn.on("click", this, this.onItemUse, [index]); } } onItemUse(index):void{ ...
来源: Laya_社区 发布时间: 20170310
...his, function(){ }), Laya.Handler.create(this, function(e){ console.log(e) } , Laya.Loader.ATLAS); 此时进度e的值只有一个数0.41 ,不会从0到1,这是什么原因? 2018-01-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180101
...Socket(PORT); } catch (IOException e) { // TODO Auto-generated catch block Log. i(TAG, "异常信息:" + e.getMessage()); } new Thread(this).start(); Log. i(TAG, "server is start......"); } public void run() { // 服务器端连续监听客户端 while (true ) { Socket client = null; try { client ...
来源: Laya_社区 发布时间: 20160104
...ends Laya.Script { constructor() { super(); } onTriggerEnter() { console.log("111"); } onTriggerStay() { console.log("111"); } onTriggerExit() { console.log("111"); } onEnable() { } onDisable() { } } //这是两个类,直接可以就不会发生触发效果,什么都不输出,还是我哪...
来源: Laya_社区 发布时间: 20190314
...200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console.log("hittttttt"); } }); } } //程序入口 Laya.init(600, 400); this.onLoaded() function onLoaded(): void {...
来源: Laya_社区 发布时间: 20180315