Collision2D.gameObject
var gameObject: GameObject;
GameObject gameObject;
gameObject as GameObject
Description

The incoming GameObject involved in the collision.

See Also: GameObject class.