Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


gameObject

The incoming GameObject involved in the collision.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public GameObject gameObject { get; }

Remarks

Additional Resources: GameObject class.