Collision2D.gameObject
var gameObject: GameObject;
Description

The incoming GameObject involved in the collision.

See Also: GameObject class.