Class CompanionResourceSync
Tracks associations between AR Companion cloud resources and assets in a Unity project
Inheritance
CompanionResourceSync
Implements
Inherited Members
ScriptableSettingsBase<CompanionResourceSync>.k_HasCustomPath
ScriptableSettingsBase<CompanionResourceSync>.s_Instance
ScriptableSettingsBase.k_PathExceptionMessage
Namespace: Unity.AR.Companion.Core
Assembly: solution.dll
Syntax
[ScriptableSettingsPath("Assets/XR/Settings")]
public class CompanionResourceSync : EditorScriptableSettings<CompanionResourceSync>, ISerializationCallbackReceiver
Methods
Name | Description |
---|---|
GetAssetGuid(string) | Get an asset guid for a given cloud guid, or null if the cloud guid is not tracked |
GetCloudGuid(string) | Get a new or existing cloud guid for a given asset guid |
OnLoaded() | Called when this ScriptableObject is loaded |
RemoveCloudGuid(string) | Remove a tracked resource, using its cloud guid as the key |
SetAssetGuid(string, string) | Associate an asset guid to a cloud guid |