Documentation

Unity Engine

Unity Engine

Collider

The first ContactPair.Collider component of the ContactPair.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
Warning
Deprecated. Please use ContactPair.collider instead.
public Collider Collider { get; }

Remarks

This property is only accessible from the main thread.