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

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

1881. Cannot read property 'call' of undefined [ 50%]

...志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19)    at HomePageUI.o...

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

1882. 显示对象的mask缩放为0时遮罩效果不生效 [ 50%]

...Laya.stage.addChild(testSp); let i = 0; tmpMask.scaleX = i / 3; Laya.stage.on(Laya.Event.CLICK, this, ()=>{ i = (i + 1) % 4; tmpMask.scaleX = i / 3; }); 附件 : --> 2020-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

1883. laya.d3.component.physics.MeshCollider [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class MeshColliderInheritanceMeshCollider Collider Component3D EventDispatcher Object MeshCollider 类用于创建网格碰撞器。 ...

来源: laya_api 发布时间: 20170929

1884. 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

1885. laya.d3.core.particleshuriken.ShurikenParticleMaterial_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/core/particleShuriKen/ShurikenParticleMaterial" ShurikenParticleMaterial Class ShurikenParticleMaterial ShurikenParticleMaterial 类...

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

1886. 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

1887. 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

1888. 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

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

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

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

1890. 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