文档

Unity Engine

Unity Engine

Collider

The first ContactPair.Collider component of the ContactPair.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

This property is only accessible from the main thread.