Unity Engine documentationScript ReferenceUnityEngineUnityEngine.LowLevelPhysics2DPhysicsQueryPhysicsQuery.CastResulthitReturns if the cast hit i.e. if the output is valid or not.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.LowLevelPhysics2D Assembly: UnityEngine.Physics2DModule public bool hit { get; }