Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/Unity/Farmlanders/Library/PackageCache/com.unity.ide.visualstudio@2.0.12/Editor/SessionSettings.cs
2022-11-12 13:10:03 +01:00

32 lines
853 B
C#

/*---------------------------------------------------------------------------------------------
* 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);
}
}
}
}