Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Captures a game object subtree into a new unsaved prefab asset.

API: engine
Project: Inno.Scene

public static Inno.Scene.PrefabAsset Inno.Scene.PrefabAsset.Capture(Inno.Scene.GameObject root, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Assets.IAssetReferenceResolver assets)

Parameter root: Prefab source root.

Parameter serialization: The serialization registry that owns the active prefab converter generation.

Parameter assets: The runtime asset generation used to resolve persistent references in the prefab graph.

A prefab asset ready to save.