Method ImportSceneAsGameObject
ImportSceneAsGameObject(Scene, GameObject, SceneImportOptions)
Declaration
[Obsolete("Importing USD in this package is obsolete in favor of the com.unity.importer.usd package. See <URL> for more information.")]
public static GameObject ImportSceneAsGameObject(Scene scene, GameObject parent = null, SceneImportOptions importOptions = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Scene | scene | |
| GameObject | parent | |
| SceneImportOptions | importOptions |
Returns
| Type | Description |
|---|---|
| GameObject |