Table of Contents

CoherenceSyncConfigRegistry

Holds references to CoherenceSyncConfigs. Network entities known to coherence are registered as part of it.

Remarks

While on the Editor, registered entries are loaded and serialized on memory but not serialized to disk. This means CoherenceSyncConfigRegistry assets should not show changes on disk when it comes to the network entities being tracked.

When building, an internal implementation of UnityEditor.Build.IPreprocessBuildWithReport serializes the changes to disk.

Once the build is completed, an internal implementation of UnityEditor.Build.IPostprocessBuildWithReport clears the changes previously made to the file.

This post-processing might update the file's modification date.

Constructors
CoherenceSyncConfigRegistry
Properties
Count

The number of CoherenceSyncConfigs registered.

Methods
GetAt

Gets the CoherenceSyncConfig registered at the specified index.

GetEnumerator
GetFromNetworkId

Gets the CoherenceSyncConfig associated with the specified identifier.

OnEnable
TryGetFromAssetId

Gets the CoherenceSyncConfig associated with the specified identifier.