Unity Engine documentationScript ReferenceUnityEngineUnityEngine.AnimationsIConstraintsourceCountGets the number of sources currently set on the component.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.Animations Assembly: UnityEngine.AnimationModule int sourceCount { get; }