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

Commit

Permalink
Removed VS Attribution Window
Browse files Browse the repository at this point in the history
  • Loading branch information
4thlabs committed Jun 8, 2023
1 parent c931d3f commit 7703c4c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Editor/WelcomeWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,11 @@ private static void InitializeOnLoad()
var text = new StringBuilder("Packages:\n");
foreach (var package in packages)
{
if (package.name == "dolbyio.comms.unity")
if (package.name == "dolbyio.comms.unity" && package.source == PackageSource.Registry)
{
WelcomeWindow.Initialize();
}
}

}

[MenuItem("Window/Dolby.io Comms Welcome")]
public static void Initialize()
{
GetWindow<WelcomeWindow>("Welcome!");
}

void OnEnable()
Expand Down

0 comments on commit 7703c4c

Please sign in to comment.