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

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

221. 关于类中方法的调用 [ 76%]

...talkScroll); // this.onAction(); // this.onAction = function(){ // console.log("-------------hhhhhhhhhhh "); // } //第一种解决方法 onAction(); function onAction(){ console.log("这是第一种解决方法"); } //第二种解决方法 this.onAction(); } Laya.class(NpcLayer,"NpcLayer",_super); ...

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

222. 网络和格式-POST [ 76%]

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

223. 网络和格式-GET [ 76%]

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

224. 发射射线检测不到,物体有包围盒 [ 76%]

...         //     lv.addChild(sp);             //     console.log("添加预制体");             // }));               self.camera = scene3d.getChildByName("--- ENVIRONEMENT ---").getChildByName("Main Camera");                         self.scene = scene3d;   ...

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

225. 排行榜上的玩家头像绘制问题 [ 76%]

排行榜上的玩家头像绘制问题 这是您给的链接 https://blog.csdn.net/LightUpH ... 04366 2018-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 187*****279 赞同来自: 这篇文章写的很详...

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

226. list中加的button不能接收点击事件 求一个list中加button的demo [ 76%]

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

227. 在加载多个资源的时候,加载进度异常 [ 76%]

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

228. 本地双击html如何打开laya项目? [ 76%]

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

229. laya3d物体碰撞与触发检测的问题 [ 76%]

...ends Laya.Script {  constructor() { super(); } onTriggerEnter() { console.log("111"); } onTriggerStay() { console.log("111"); } onTriggerExit() { console.log("111"); } onEnable() { }  onDisable() { } } //这是两个类,直接可以就不会发生触发效果,什么都不输出,还是我哪...

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

230. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 76%]

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