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

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

1891. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 50%]

...e' of null   附Demo。   想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最...

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

1892. laya.d3.core.MeshFilter [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshFilterProperties | Methods | Events Packagelaya.d3.coreClasspublic class MeshFilterInheritanceMeshFilter GeometryFilter EventDispatcher Object MeshFilter 类用于创建网格过滤器。 Public Properties Hide Inhe...

来源: laya_api 发布时间: 20170929

1893. js中使用sharedMesh报错 [ 50%]

...); warehouse1.name = "仓库1"; var warehouseCollider1 = warehouse1.addComponent(Laya.MeshCollider); warehouseCollider1.mesh = warehouse1.meshFilter.sharedMesh;错误信息: TypeError: Cannot read property 'sharedMesh' of undefined at onComplete (file:///E:/LayaWorkspace/javaScriptLaya/src/warehou...

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

1894. laya.media.SoundChannel [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundChannelProperties | Methods Packagelaya.mediaClasspublic class SoundChannelInheritanceSoundChannel EventDispatcher Object SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且...

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

1895. spine 推荐使用方式 [ 50%]

...题以及解决方案 1、常规UI特效     1、直接 new Laya.Skeleton,然后load,不用自己手动管理Laya.Templet加载和释放     2、移除Laya.Skeleton可以cache成通用节点,避免重复创建     3、释放资源直接调用Laya.loader.clearTextureRes     4、每次使用...

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

1896. laya.d3.webxr.core.WebXRCamera_API3.0 [ 50%]

...ch 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/WebXRCamera" WebXRCamera Class WebXRCamera author miner 类用于创建WebXR摄像机。 Hierarchy Camera WebXRCamera Inde...

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

1897. Unhandled promise rejection: Error: Cannot navigate to invalid URL [ 50%]

Unhandled promise rejection: Error: Cannot navigate to invalid URL ******** Unhandled error in debug adapter - Unhandled promise rejection: Error: Cannot navigate to invalid URL     at Client.processMessage (/Applications/LayaAirIDE.app/Contents/Resources/app/extensions/laya-debug2/node_modules/n...

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

1898. 微信横屏播放视频以及IOS自动旋转的问题--解决方案 [ 50%]

...问题,参考了 论坛上的一片帖子 https://ask.layabox.com/question/42393 主要就是resize的监听,bin/laya.core.js下面,查找关键词,定位到方法,然后修改延迟处理,修改后代码如下   然后是播放视频,播放视频需要判断一下系统,因为两...

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

1899. 游戏运行在chrome里面 听不见声音 [ 50%]

...它浏览器可以听见声音 开发者模式提示如下:  The AudioContext was not allowed to start. It must be resume (or created) after a user gesture on the page     在下小白 ,请回答的详细点。最好有代码实例; 2018-05-09 1 条评论 已悬赏3元 --> 分享 微博 QZO...

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

1900. laya.d3.component.animation.SkinAnimations [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SkinAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class SkinAnimationsInheritanceSkinAnimations KeyframeAnimations Component3D EventDispatcher Object SkinAnimations 类用于创...

来源: laya_api 发布时间: 20170929