AssetDatabaseProvider
class in Coherence.Toolkit
Constructors
AssetDatabaseProvider |
Methods
Initialize | Editor only method, that is called when an instance of this provider is assigned to a network entry. If Validate returns false, the UI will show a button that will call Initialize again. |
LoadAsset | Called from CoherenceSyncConfig when CoherenceSyncConfig.Instantiate is called, the object is loaded forcing synchronicity. If the provider is naturally asynchronous (Addressables/Asset Bundles), using this method can incur in heavy performance penalties because the main thread will be blocked while the object is loaded. |
OnApplicationQuit | Called when the application exits. |
Release | Called when coherence needs to destroy a prefab instance, when the related network entity is destroyed. |
Validate | Editor only method, that is called by the UI to validate the serialized data of this Provider. |