Table of Contents

Method Apply

Namespace
GrindFest.Content
Assembly
GrindFest.dll

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

instance GameObject
components Dictionary<string, object>

Returns

ContentMaterializer.Report