Method Hydrate
Hydrate(ContentDef, GameObject)
Applies a definition's merged values onto a just-spawned instance. A no-op for untouched definitions (their archetype already carries the final values, and prefab identity stays stable for the gameplay formulas that hash prefab references); the whole point for patched/overridden ones.
Call right after Instantiate, before the instance starts living. Only overridden content pays the apply cost, and only once per spawn (~2–3 ms measured naive).
public static ContentMaterializer.Report Hydrate(ContentDef def, GameObject instance)
Parameters
defContentDefinstanceGameObject