unity can not convert from method group to collider code example
Example: Cannot convert method group 'GetComponent' to non-delegate type
rigid2D = GetComponent<Rigidbody2D>; //no
rigid2D = GetComponent<Rigidbody2D>(); //yes
rigid2D = GetComponent<Rigidbody2D>; //no
rigid2D = GetComponent<Rigidbody2D>(); //yes