Skip to content

Commit

Permalink
Revert "Remove all"
Browse files Browse the repository at this point in the history
This reverts commit b18de28 and 745b6e0.
  • Loading branch information
Martin Wilter committed Oct 3, 2020
1 parent f025a57 commit afb58eb
Show file tree
Hide file tree
Showing 13,526 changed files with 2,431,064 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions Azure Cloud Tutorials/Assets/Azure Storage.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Azure Cloud Tutorials/Assets/Azure Storage/Plugins.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
guid: cf6be54a43e7182a5598eca796a58c70
fileFormatVersion: 2
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
guid: 61b6876a46f632cc2a015e3d850039aa
fileFormatVersion: 2
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
guid: 12274e6f040f9922bfcce403ec78c0bc
fileFormatVersion: 2
7 changes: 7 additions & 0 deletions Azure Cloud Tutorials/Assets/Azure Storage/Plugins/link.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<linker>
<assembly fullname="System.Core">
<type fullname="System.Linq.Expressions.Interpreter.LightLambda" preserve="all" />
</assembly>
<assembly fullname="Microsoft.WindowsAzure.Storage" preserve="all" />
<assembly fullname="Newtonsoft.Json" preserve="all" />
</linker>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
guid: bba635da62696eefd4405aa2546cd5c5
fileFormatVersion: 2
8 changes: 8 additions & 0 deletions Azure Cloud Tutorials/Assets/AzureSpatialAnchors.SDK.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

namespace Microsoft.Azure.SpatialAnchors.Unity
{
public abstract class SpatialAnchorAuthEditor : Editor
{
protected abstract AuthenticationMode GetAuthMode();

public override void OnInspectorGUI()
{
// Start the update
serializedObject.Update();

// Draw based on auth mode
switch (GetAuthMode())
{
case AuthenticationMode.ApiKey:
DrawPropertiesExcluding(serializedObject, new string[] { "clientId", "tenantId" });
break;
case AuthenticationMode.AAD:
DrawPropertiesExcluding(serializedObject, new string[] { "spatialAnchorsAccountId", "spatialAnchorsAccountKey" });
EditorGUILayout.HelpBox("IMPORTANT: Extra steps are required to enable AAD. Please see AzureSpatialAnchorsUnityPluginReadme in the SDK folder for more information.", MessageType.Warning);
break;
default:
break;
}

// Apply modifications
serializedObject.ApplyModifiedProperties();
}
}

[CustomEditor(typeof(SpatialAnchorConfig))]
public class SpatialAnchorConfigEditor : SpatialAnchorAuthEditor
{
protected override AuthenticationMode GetAuthMode()
{
return ((SpatialAnchorConfig)target).AuthenticationMode;
}
}
[CustomEditor(typeof(SpatialAnchorManager))]
public class SpatialAnchorManagerEditor : SpatialAnchorAuthEditor
{
protected override AuthenticationMode GetAuthMode()
{
return ((SpatialAnchorManager)target).AuthenticationMode;
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit afb58eb

Please sign in to comment.