Class ForceUniqueColliderAuthoring
An authoring component to tag the physics colliders used by this entity as unique. It is intended to be used with Built-In Physics Collider Components. Any collider that is present on a GameObject with this component will be flagged as unique during the baking process. A unique collider will not share a BlobAssetReference<Collider> with any other collider.
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: Unity.Physics.Hybrid.dll
Syntax
[Icon("Packages/com.unity.physics/Unity.Physics.Editor/Editor Default Resources/Icons/d_BoxCollider@64.png")]
[AddComponentMenu("Entities/Physics/Force Unique Collider")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.physics@latest/index.html?subfolder=/api/Unity.Physics.Authoring.ForceUniqueColliderAuthoring.html")]
[DisallowMultipleComponent]
public class ForceUniqueColliderAuthoring : MonoBehaviour