Class SyncPrefabImporter
Namespace: UnityEngine.Reflect
Syntax
public class SyncPrefabImporter
Methods
CreateInstance(Transform, String, SyncObjectInstance, IObjectCache)
Declaration
public static SyncObjectBinding CreateInstance(Transform root, string source, SyncObjectInstance instance, IObjectCache objectCache)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | root | |
| String | source | |
| SyncObjectInstance | instance | |
| IObjectCache | objectCache |
Returns
| Type | Description |
|---|---|
| SyncObjectBinding |
Import(SyncPrefab, IObjectCache)
Declaration
public static Transform Import(SyncPrefab syncPrefab, IObjectCache objectCache)
Parameters
| Type | Name | Description |
|---|---|---|
| SyncPrefab | syncPrefab | |
| IObjectCache | objectCache |
Returns
| Type | Description |
|---|---|
| Transform |