Collision2D.gameObject

public GameObject gameObject;

Description

The incoming GameObject involved in the collision.

See Also: GameObject class.

Did you find this page useful? Please give it a rating: