-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [2.0.12] - 2021-10-20 Integration: - Do not block asset opening when only a VS instance without a loaded solution is found. - Only check package version once per Unity session. - Improved support for Visual Studio For Mac 2022.
- Loading branch information
Unity Technologies
committed
Oct 20, 2021
1 parent
f6444c6
commit 1543604
Showing
8 changed files
with
66 additions
and
7 deletions.
There are no files selected for viewing
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
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
Binary file not shown.
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
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,31 @@ | ||
/*--------------------------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*--------------------------------------------------------------------------------------------*/ | ||
|
||
using System.Runtime.CompilerServices; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Microsoft.Unity.VisualStudio.Editor | ||
{ | ||
internal static class SessionSettings | ||
{ | ||
internal static string GetKey([CallerMemberName] string memberName = "") | ||
{ | ||
return $"{typeof(SessionSettings).FullName}.{memberName}"; | ||
} | ||
|
||
public static bool PackageVersionChecked | ||
{ | ||
get | ||
{ | ||
return SessionState.GetBool(GetKey(), false); | ||
} | ||
set | ||
{ | ||
SessionState.SetBool(GetKey(), value); | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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