Class SyncPrefabImporter
Inheritance
SyncPrefabImporter
Syntax
public class SyncPrefabImporter
Constructors
SyncPrefabImporter(Boolean, String[])
Declaration
public SyncPrefabImporter(bool importLights, params string[] sources)
Parameters
Methods
Declaration
public SyncObjectBinding CreateInstance(Transform root, SyncObjectInstance instance)
Parameters
| Type |
Name |
Description |
| Transform |
root |
|
| SyncObjectInstance |
instance |
|
Returns
Declaration
public static Transform CreateSyncPrefab(Transform parent, SyncPrefab syncPrefab)
Parameters
| Type |
Name |
Description |
| Transform |
parent |
|
| SyncPrefab |
syncPrefab |
|
Returns
| Type |
Description |
| Transform |
|
Import(SyncPrefab, IObjectCache)
Declaration
public static Transform Import(SyncPrefab syncPrefab, IObjectCache objectCache)
Parameters
| Type |
Name |
Description |
| SyncPrefab |
syncPrefab |
|
| IObjectCache |
objectCache |
|
Returns
| Type |
Description |
| Transform |
|
ReimportElement(String)
Declaration
public List<GameObject> ReimportElement(string key)
Parameters
| Type |
Name |
Description |
| String |
key |
|
Returns
| Type |
Description |
| List<GameObject> |
|
ReimportMaterial(String)
Declaration
public void ReimportMaterial(string key)
Parameters
| Type |
Name |
Description |
| String |
key |
|
ReimportMesh(String)
Declaration
public void ReimportMesh(string key)
Parameters
| Type |
Name |
Description |
| String |
key |
|
RemoveInstance(SyncObjectBinding)
Declaration
public void RemoveInstance(SyncObjectBinding syncObject)
Parameters