Unity Blog - A glimpse inside Unity Technologies…
AddComponent(string): API Removal in Unity 5.0 Adriano Verona, January 21, 2015 19 GameObject::AddComponent(string) has been removed in Unity 5.0. The alternatives are two overloads of this API, one taking the component type as a generic type argument ......