forked from microsoft/MixedRealityLearning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Martin Wilter
committed
Oct 3, 2020
1 parent
f025a57
commit afb58eb
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.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+760 KB
Azure Cloud Tutorials/Assets/Azure Storage/Plugins/Microsoft.WindowsAzure.Storage.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
Azure Cloud Tutorials/Assets/Azure Storage/Plugins/Microsoft.WindowsAzure.Storage.dll.meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
guid: cf6be54a43e7182a5598eca796a58c70 | ||
fileFormatVersion: 2 |
Binary file added
BIN
+622 KB
Azure Cloud Tutorials/Assets/Azure Storage/Plugins/Newtonsoft.Json.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
Azure Cloud Tutorials/Assets/Azure Storage/Plugins/Newtonsoft.Json.dll.meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
guid: 61b6876a46f632cc2a015e3d850039aa | ||
fileFormatVersion: 2 |
Binary file added
BIN
+28.9 KB
Azure Cloud Tutorials/Assets/Azure Storage/Plugins/System.Reflection.TypeExtensions.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
Azure Cloud Tutorials/Assets/Azure Storage/Plugins/System.Reflection.TypeExtensions.dll.meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
guid: 12274e6f040f9922bfcce403ec78c0bc | ||
fileFormatVersion: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
2 changes: 2 additions & 0 deletions
2
Azure Cloud Tutorials/Assets/Azure Storage/Plugins/link.xml.meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
guid: bba635da62696eefd4405aa2546cd5c5 | ||
fileFormatVersion: 2 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
Azure Cloud Tutorials/Assets/AzureSpatialAnchors.SDK/Editor.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
Azure Cloud Tutorials/Assets/AzureSpatialAnchors.SDK/Editor/SpatialAnchorAuthEditor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Azure Cloud Tutorials/Assets/AzureSpatialAnchors.SDK/Editor/SpatialAnchorAuthEditor.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.