Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Disabled package installation button in xrtk.core project (#565)
Browse files Browse the repository at this point in the history
* Disabled package installation button in xrtk.core project

* close the window if packages is empty and log a warning
  • Loading branch information
StephenHodgson authored May 4, 2020
1 parent aab545a commit 9c667be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Runtime/Utilities/Editor/MixedRealityEditorSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ static MixedRealityEditorSettings()
/// </summary>
public static void CheckSettings()
{
EditorPrefs.SetBool("XRTK", true);

if (Application.isPlaying ||
EditorPrefs.GetBool(IgnoreKey, false) ||
!SessionState.GetBool(SessionKey, true))
Expand Down

0 comments on commit 9c667be

Please sign in to comment.