Interface IPrefabFactory
Namespace: Unity.RuntimeSceneSerialization.Prefabs
Syntax
public interface IPrefabFactory
Methods
TryInstantiatePrefab(String, Transform)
Declaration
GameObject TryInstantiatePrefab(string guid, Transform parent = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | guid | |
| Transform | parent |
Returns
| Type | Description |
|---|---|
| GameObject |