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

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

341. 请问如何使我的自定义类UIDropBox继承Laya.Sprite? [ 69%]

请问如何使我的自定义类UIDropBox继承Laya.Sprite? var UIDropBox = (function () { var Sprite = Laya.Sprite; var Text = Laya.Text; function UIDropBox() { UIDropBox.super(this); this.txt = this.getTextFeild(); this.txt.y = 50; this.txt.text = 'aasassa'; console.log(this.addChild);//undefi...

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

342. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 69%]

...Target").getChildByName("MoveBlockPivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot") as Laya.Sprite3D; let newRot = new ...

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

343. ProgressBar 代码问题 [ 69%]

ProgressBar 代码问题 依照官网教程https://layaair.ldc.layabox.com/demo/?2d&UI&ProgressBar  使用会出现<<<TypeError: Cannot read property 'value' of undefined>>> 我的代码为按钮点击后 出现popup并且模拟进度条加载 按钮代码: this.testLoadi...

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

344. LocalStorage的bug [ 69%]

...it():void { __JS__("try{Storage.items=window.localStorage;Storage.setItem('laya', '1');Storage.removeItem('laya');Storage.support = true;} catch(e){}if(!Storage.support)console.log('LocalStorage is not supprot or browser is private mode.')"); }   改成 public static function init():void { __JS__("...

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

345. 代码创建精灵监听不到事件? [ 69%]

...灵监听不到事件? var boxstr = "ui/buildsmall.png"; var box = new Laya.Sprite(); var texture = Laya.loader.getRes(boxstr); box.graphics.drawTexture(texture); var arr = {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]);   var _proto = Storage...

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

346. android native环境,ttfloader加载的字体,设置无效果! [ 69%]

...er加载的字体,设置无效果! 浏览器环境是正常的 android和laya工程网盘链接 ,提取码:7rmu 附件 : --> 2022-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Yan 赞同来自: Ti...

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

347. UI-RefreshList [ 69%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

来源: Laya2.0_示例 发布时间: 20241001

348. 3D物体active从false设置为true后,Script3D的onUpdate会重复执行 [ 69%]

... 分享 微博 QZONE 微信 kylin_phone 赞同来自: 试一下附件中的laya.core.js laya.core_.js_.zip 2021-03-22 0 1 分享 微博 QZONE 微信 photon 赞同来自: 试过了的还有问题:onDisable不会被触发。 修复方法.zip 2021-03-25 0 0 分享 微博 QZONE 微信 Sོ 赞同来...

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

349. layaNative release-v2.1.0 版本不能正常热更新 [ 69%]

layaNative release-v2.1.0 版本不能正常热更新 热更新出现问题,看下面附件中的截图,apk中和服务器上的update中的同一文件的校验码不同,但是不能够正常的热更新。 附件 : --> 2019-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

350. 微信小游戏分包实战(TypeScript-小游戏适配文档-微信小游戏) [ 69%]

...小游戏产品。 #### 1、是否使用过UI加载或者分离模式? LayaAir引擎的开发者,UI大多都是通过LayaAirIDE制作。 在F9的UI模式选项,以及项目管理器,右击每一个UI页面设置默认属性时的导出类型选项,都可以看到内嵌模式、加载模式...

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