間違ってない。AddComponentはそのタイプのコンポーネントを返す。

ttp://docs.unity3d.com/ScriptReference/GameObject.AddComponent.html