ドキュメント

Unity Engine

Unity Engine

bounceCombine

The bounciness combine mode used by the Collider2D.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public PhysicsMaterialCombine2D bounceCombine { get; }

Remarks

A Collider2D can have a PhysicsMaterial2D assigned in several ways: directly through the Collider2D.sharedMaterial, indirectly through the attached Rigidbody2D.sharedMaterial, or by using the global default. If no PhysicsMaterial2D is assigned, a default value is used.