addcomponent_AddComponent(string):Unity 5.0中的API刪除

addcomponent GameObject :: AddComponent(string) 已在Unity 5.0中刪除。 備選方案是此API的兩個重載,一個重載了組件類型作爲泛型類型參數,另一個重載了對組件類型的引用。 已配置自動API更新,但並非所有情況都可以自動處理。 (GameObject::AddComponent(string) has been removed in Unity
相關文章
相關標籤/搜索