private void OnCollisionExit2D(Collision2D collision) { if (GenClass != null) { GenClass.OnCollisionExit2D(collision); } }