Class APIUpdaterRuntimeServices
Inheritance
APIUpdaterRuntimeServices
Assembly: UnityEngine.dll
Syntax
public sealed class APIUpdaterRuntimeServices
Methods
|
Improve this Doc
View Source
AddComponent(GameObject, String, String)
Declaration
[Obsolete("AddComponent(string) has been deprecated. Use GameObject.AddComponent<T>() / GameObject.AddComponent(Type) instead.\r\nAPI Updater could not automatically update the original call to AddComponent(string name), because it was unable to resolve the type specified in parameter 'name'.\r\nInstead, this call has been replaced with a call to APIUpdaterRuntimeServices.AddComponent() so you can try to test your game in the editor.\r\nIn order to be able to build the game, replace this call (APIUpdaterRuntimeServices.AddComponent()) with a call to GameObject.AddComponent<T>() / GameObject.AddComponent(Type).")]
public static Component AddComponent(GameObject go, string sourceInfo, string name)
Parameters
Returns
Extension Methods