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