Collision2D.gameObject

public GameObject gameObject;

Description

The incoming GameObject involved in the collision.

See Also: GameObject class.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答