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

大约有 3,008 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0057 秒)

2261. layaair 2.0 个人觉得编辑器【难用】的地方 [ 49%]

...。 1.谷歌浏览器跨域问题。 我新建空项目,新场景,新class,使用谷歌浏览器调试,会报错跨域,找了半天项目设置,社区里也找了没找到为什么。但是我新建3D事例项目,却正常,并没有跨域问题,对比半天两个项目的文件差...

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

2262. 请问用laya的tab模板创建的tab,为啥没有点击事件啊?而且tab标签点击后没有一直处于按下状态 [ 49%]

...AssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() {     Laya.class(MyBoot, "MyBootClass", MyBootPage2UI);     UI = new MyBootClass();     Laya.stage.addChild(UI); } function MyBoot() {     MyBoot.super(this);          this.Boot.selectHandler = new Laya.Handler(this, onSelect...

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

2263. Panel使用文档(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 49%]

...动图5所示: ![5](img\5.gif)(图5) **示例代码:** ```typescript class PanelTest { constructor() { //初始化引擎 Laya.init(800, 600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded)); } private onLoaded(): void { //实例化Panel...

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

2264. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类...

来源: laya_api 发布时间: 20170929

2265. Morn下List组件如何给每一条列表添加Click事件,是需要for吗? [ 49%]

...import morn.core.components.Box; import morn.core.handlers.Handler; public class ListView extends ListViewUI { public function ListView() { super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listRender);...

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

2266. 问一个问题就是你们的每个UI都继承了一个引擎的代码我要写一个UI的基类那不就无法继承了 [ 49%]

...它又自动改回extends View了,于是乎每次生辰都要把所有的class全部改一遍继承   这个到layaair2.0了还没有解决吗?   2018-11-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 132*****180 相关问题 ...

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

2267. 之前用着好好的U3D导出插件突然不能用了,下载了新的报错,麻烦帮看下,谢谢 [ 49%]

...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) 附件是可复现问题的U3d项目文件,我使用的版本是2017.1.0f3。官方大神帮看看呗…… 附件 : --> 导出Sprite3D报错.rar 2018-12-18 添加...

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

2268. laya.d3.core.material.TerrainMaterial [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class TerrainMaterialInheritanceTerrainMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Pro...

来源: Laya2.0_api 发布时间: 20190513

2269. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 49%]

... import laya.display.Sprite;     import laya.ui.Image;     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640,WebGL);              var image:Image = new ...

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

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

...int对象父容器rotation旋转之后检测不了碰撞   附上代码  class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are...

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