async void EnableSharing(OVRAnchor anchor) {
if (!anchor.TryGetComponent\<OVRSharable\>(out var sharableComponent)) {
Debug.LogError("Anchor does not support sharing.");
return;
}
if (await sharableComponent.SetEnabledAsync(true)) {
Debug.Log("Anchor is now sharable.");
} else {
Debug.LogError("Unable to enable the sharable component.");
}
}