Method Apply
Apply(GameObject, Dictionary<string, object>)
Applies encoded component values onto an instance. Matching is by component type name (the mirror's key is the concrete class name, e.g. "WeaponBehaviour"); the first matching behaviour wins.
public static ContentMaterializer.Report Apply(GameObject instance, Dictionary<string, object> components)
Parameters
instanceGameObjectcomponentsDictionary<string, object>