It is better to use GetComponent with a Type instead of a string for performance ...
docs.unity3d.com