文档

Unity Engine

Unity Engine

collider

The Collider for the GameObject struck by the particles.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
警告
Removed. collider property is deprecated. Use colliderComponent instead, which supports Collider and Collider2D components
public Component collider { get; }