cannot convert method group to non-delegate type 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