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

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

71. 2D物理-碰撞事件与传感器 [ 84%]

...rue; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = ...

来源: Laya2.0_示例 发布时间: 20241118

72. WorkerLoader相关代码添加在哪? [ 84%]

...js"; //开启使用WorkerLoader来加载解码图片的功能 WorkerLoader.enable = true;   以上代码不知道要添加在哪?我是用as语言写的,是添加在编译好的根目录里的哪个文件里?希望有一个可以看到上下文的位置。我对网页和js不是很懂,还...

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

73. laya.physics.CircleCollider_API3.0 [ 84%]

... owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor radius restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Const...

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

74. QQ小游戏demo跑不起来 MiniFileMgr.fs.readFile无回调 [ 84%]

...工具 运行该项目   问题: 1、Main.ts的 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); 该行能成功运行,执行了this.onVersionLoaded回调; 2、然后该行Laya.AtlasInfoManager.enable("fileco...

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

75. laya.physics.EdgeCollider_API3.0 [ 84%]

... owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Const...

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

76. laya.d3.core.light.Light_API3.0 [ 84%]

...a _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength Methods _initialize _setOwner destroy hasHideFlag on...

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

77. laya.physics.joint.PrismaticJoint_API3.0 [ 84%]

...otherBody owner runInEditor scriptPath selfBody Accessors awaked destroyed enableLimit enableMotor enabled hideFlags id joint lowerTranslation maxMotorForce motorSpeed upperTranslation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostR...

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

78. laya.physics.BoxCollider_API3.0 [ 84%]

... owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction height hideFlags id isSensor restitution width x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate...

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

79. laya.physics.PolygonCollider_API3.0 [ 84%]

... owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Const...

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

80. laya.d3.physics.PhysicsComponent_API3.0 [ 83%]

...otionThreshold ccdSweptSphereRadius colliderShape collisionGroup destroyed enabled friction hideFlags id isActive restitution rollingFriction simulation Methods _initialize _setOwner destroy getPhysicsOrientation getPhysicsPosition hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdat...

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