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

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

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

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

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

682. as中BoxCollider引入了,但是运行的时候还是提示null [ 50%]

...提示:错误,图片是IDE自带的,也不显示 Laya 2.7.1 PlatformClass 在哪里?这个类怎么没了?我需要引入什么类库么? 根据官方教程:FlashBuilder-LayaCompiler-运行提示"must set Document Class!" 问题状态 最新活动: 2017-12-20 12:15 浏览: 1241 关注:...

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

683. laya.ani.AnimationPlayer_API3.0 [ 50%]

...nals Only exported Menu Globals "laya/ani/AnimationPlayer" AnimationPlayer Class AnimationPlayer AnimationPlayer 类用于动画播放器。 Hierarchy EventDispatcher AnimationPlayer Index Constructors constructor Properties isCache playbackRate returnToZeroStopped Accessors cacheFrameRate cacheFram...

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

684. laya.physics.EdgeCollider_API3.0 [ 50%]

...ernals Only exported Menu Globals "laya/physics/EdgeCollider" EdgeCollider Class EdgeCollider 2D边框碰撞体 Hierarchy ColliderBase EdgeCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enab...

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

685. laya.resource.TextResource_API3.0 [ 50%]

...rnals Only exported Menu Globals "laya/resource/TextResource" TextResource Class TextResource 文字资源 Hierarchy Resource TextResource Index Constructors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute refer...

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

686. laya.d3.core.light.Light_API3.0 [ 50%]

...ited Externals Only exported Menu Globals "laya/d3/core/light/Light" Light Class Light LightSprite 类用于创建灯光的父类。 Hierarchy Component Light SpotLightCom DirectionLightCom PointLightCom AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor...

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

687. laya.physics.joint.PrismaticJoint_API3.0 [ 50%]

...y exported Menu Globals "laya/physics/joint/PrismaticJoint" PrismaticJoint Class PrismaticJoint 平移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Hierarchy JointBase PrismaticJoint Index Constructors constructor Properties _extra _singleton anchor axis ...

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

688. HTMLIframeElement 使用出错?请大神指点 [ 50%]

...4 21:27 import HTMLIframeElement = Laya.HTMLIframeElement; // 程序入口 class GameMain{ constructor() { Laya.init(600,400); //Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_CENTER; Laya.stage.screenMode = Laya.Stage....

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

689. laya.physics.BoxCollider_API3.0 [ 50%]

...xternals Only exported Menu Globals "laya/physics/BoxCollider" BoxCollider Class BoxCollider 2D矩形碰撞体 Hierarchy ColliderBase BoxCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enable...

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

690. laya.utils.Browser_API3.0 [ 50%]

...nherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Index Properties PLATFORM_ANDROID PLATFORM_IOS PLATFORM_PC canvas context onAlipayMiniGame onAndroid onBDMin...

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