文档

Unity Engine

Unity Engine

PhysicsShapeDefinition

Create a default PhysicsShape definition.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule

PhysicsShapeDefinition()

Create a default PhysicsShape definition.
public PhysicsShapeDefinition()

PhysicsShapeDefinition(bool)

Create a default PhysicsShape definition.
public PhysicsShapeDefinition(bool useSettings)

Parameters

useSettings

Controls whether the default come settings from the physics settings or not.