Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Instantiates this prefab into a scene using newly generated object identities.

API: engine
Project: Inno.Scene

public Inno.Scene.GameObject Inno.Scene.PrefabAsset.Instantiate(Inno.Scene.GameScene scene, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Assets.IAssetReferenceResolver assets, Inno.Scene.Components.Transform? parent = null)

Parameter scene: Target scene.

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.

Parameter parent: Optional target parent.

The instantiated root game object.