collision detector unity c# 2d

C#
void OnCollisionEnter2D(Collision2D coll){)
Source

Also in C#: