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

大约有 2,029 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)

1801. 如何使sprite基于浏览器底部定位,而不是基于舞台底部定位,设置bottom等于0似乎是基于舞台的,但是舞台超出后还是看不到,我需要基于浏览器定位的方法 [ 48%]

...滚屏,使得新添加的元素始终保持在最底部显示? 配置layaAir需要注意的 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 救命!canvas定位后 点击区域偏移,求大大们解答 如何设置Sprite的宽高和点击区域? iphone自带浏览...

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

1802. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 48%]

# Tree 组件参考 ## 一、通过LayaAirIDE创建Tree组件 ​ Tree 组件用来显示树状结构。用户可以查看排列为可扩展树的层次结构数据。 ​ Tree 组件的脚本接口请参考 [Tree API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=...

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

1803. laya.d3.webxr.core.WebXRExperienceHelper_API3.0 [ 48%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRExperienceHelper" WebXRExperienceHelper Class WebXRExperienceHelper 类用来管理WebXR author miner Hierarchy ...

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

1804. image在相应loaded的时候,无法正确获取高度 [ 48%]

...应loaded的时候,无法正确获取高度 class RoleUIDynamic extends Laya.Image { matterBody: Matter.Body; constructor() { super(); this.on('start', this, this.init); } private init():void { console.log("init", this.x, this.y, this.width, this.height, this.scaleX, this.scaleY); var createOption...

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

1805. TypeError: Laya.MovieClip is not a constructor [ 48%]

TypeError: Laya.MovieClip is not a constructor let mc:Laya.MovieClicp = new Laya.MoveClip();     报错: TypeError: Laya.MovieClip is not a constructor preload.js:55 at XLoadUIScript.32.XLoadUIScript._init (file:///D:/1MiniGame/mini-game-client/minigame1/bin/js/bundle.js:3001:18)   at XLoadUIS...

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

1806. 3D场景里面怎么画线条 [ 48%]

...是没看到画出来的线条 代码如下   var phasorSpriter3D = new Laya.PhasorSpriter3D(); var _color = new Laya.Vector4(1, 255, 0, 1); var _corners = new Array(); _corners[0] = new Laya.Vector3(0,0,0); _corners[1] = new Laya.Vector3(0,0,100); _corners[2] = new Laya.Vector3(0,100,0); _corners[...

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

1807. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 48%]

...tart = new GameStartUI(); start.btn_start.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(start); } function gameInit() { map = new GameBgUI(); Laya.stage.addChild(map); play = new GamPlayUI(); Laya.stage.addChild(play); hero = new Hero("hero", 25) hero.pos(100,200) Laya.stage.addChild(hero) La...

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

1808. as编译器1.7.5beta的问题 [ 48%]

...目你们看一下。   使用 FlashBuilder编译,报错。接着使用layaIDE编译,还是报错,第三次的时候使用 Flashbuilder编译,又好了,可是再次使用 FlashBuilder编译,以及后面无数次编译,都会报错。 只能使用 LayaIDE编译一次,再使用 FB 编...

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

1809. 多个文件之间相互import,运行时报错 [ 48%]

...on文件。。竟然无法自动生成了? unity导出粒子文件问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 请问2.0的版本开始,我用ts编...

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

1810. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 48%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/ShurikenParticleInstanceSystem" ShurikenParticleInstanceSystem Class ShurikenParticleInstanceSystem Hierar...

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