すいません、初心者でチュートリアルをやっているのですが、
スクリプトに
rigidbody2D.AddForce(Vector2.right * h * 300f);
という一行を追加しただけで、下記エラーが出てしまいます。
原因と対策を教えて頂ければ。

'UnityEngine.Component' does not contain a definition
for 'AddForce' and no extension method 'AddForce' accepting a first argument of type 'UnityEngine.Component'
could be found (are you missing a using directive or an assembly reference?)