Class SyncInstance
Syntax
public class SyncInstance
Constructors
Declaration
public SyncInstance(Transform syncRoot, string syncPath)
Parameters
| Type |
Name |
Description |
| Transform |
syncRoot |
|
| String |
syncPath |
|
Properties
Manifest
Declaration
public SyncManifest Manifest { get; }
Property Value
| Type |
Description |
| SyncManifest |
|
Methods
ApplyModifications(SyncManifest)
Declaration
public bool ApplyModifications(SyncManifest manifest)
Parameters
| Type |
Name |
Description |
| SyncManifest |
manifest |
|
Returns
ApplyPrefabChanges()
Declaration
public IEnumerator ApplyPrefabChanges()
Returns
GetInstanceCount()
Declaration
public int GetInstanceCount()
Returns
GetPrefab()
Declaration
public SyncPrefab GetPrefab()
Returns
| Type |
Description |
| SyncPrefab |
|
RemoveVisibilityFilter(ISet<SyncObjectBinding.Identifier>)
Declaration
public void RemoveVisibilityFilter(ISet<SyncObjectBinding.Identifier> filter)
Parameters
SetVisibilityFilter(ISet<SyncObjectBinding.Identifier>)
Declaration
public void SetVisibilityFilter(ISet<SyncObjectBinding.Identifier> filter)
Parameters
Events
onObjectChanged
Declaration
public event SyncInstance.ObjectEventHandler onObjectChanged
Event Type
onObjectCreated
Declaration
public event SyncInstance.ObjectEventHandler onObjectCreated
Event Type
onObjectDestroyed
Declaration
public event SyncInstance.ObjectEventHandler onObjectDestroyed
Event Type
onPrefabChanged
Declaration
public event SyncInstance.InstanceEventHandler onPrefabChanged
Event Type
onPrefabLoaded
Declaration
public event SyncInstance.InstanceEventHandler onPrefabLoaded
Event Type