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

大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0198 秒)

2311. laya.display.Graphics_API3.0 [ 49%]

...ited Externals Only exported Menu Globals "laya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行...

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

2312. [LayaAirIDE 2.0]Particle2D无法直接拖拽到场景中使用,望解决 [ 49%]

...t","runtime":"laya.particle.Particle2D"}运行报错 Uncaught Can not find class laya.particle.Particle2D 我将laya.particle.Particle2D 改成 Particle2D就运行正常,但是ui编辑页面无法正常打开了。   简单说就是particle2D编辑好不能直接拖到别的场景使用  附件 ...

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

2313. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 49%]

...成后调用Loader.clearRes后,并不能真正释放资源的bug demo: class NewTest { public static url: string = "333.json"; private loadedMap; constructor() { this.loadedMap = Laya.Loader["loadedMap"];  Laya.init(720, 1280, Laya.WebGL); Laya.Stat.show(0,0); Laya.stage.alignH = "center"; Laya.s...

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

2314. laya.d3.resource.TextureCube_API3.0 [ 49%]

...nals Only exported Menu Globals "laya/d3/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel co...

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

2315. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 49%]

...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();          //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain...

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

2316. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 49%]

... import GameConfig from "./GameConfig"; import ui from "./ui/layaMaxUI"; class Main {     constructor(){         //初始化引擎         Laya3D.init(0, 0);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NO...

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

2317. Laya构建App后AndroidStudio中用真机调试模式下运行,App打开了,但是不能打开游戏的问题。 [ 49%]

...p 06-20 19:10:18.494 5371-5371/com.ReleaseTest.Four E/MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport 06-20 19:10:18.528 5371-5371/com.ReleaseTest.Four W/art: Attempt to remove local handle scope entry from IRT, ignoring 06-20 19:10:18.541 5371-5371/com.ReleaseTest.Fou...

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

2318. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 49%]

...unction playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recoverWebAudio(); url = URL.formatURL(url); if (url == _tMusic) { if (_musicMute...

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

2319. laya.d3.core.Camera [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inh...

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

2320. 使用layaide进行打包,提示如下错误。 [ 49%]

...,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode   网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问应该如何解决...

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