Unity Engine documentationScript ReferenceUnityEngineContactPairHeaderPairCountNumber of ContactPair s that this header contains.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule 警告Deprecated. Please use ContactPairHeader.pairCount instead.Upgrade to ContactPairHeader.pairCount public int PairCount { get; }