Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 2fe11a4

Browse files
committed
Add comment about always running the profile detector
1 parent b67daee commit 2fe11a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/ExtensionLoader/ExtensionLoader.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ static ExtensionLoader()
3838
private static void Initialize()
3939
{
4040
EditorApplication.update -= Initialize;
41+
42+
// we're always doing this right now because if the plugin gets updated all the meta files will be disabled and we need to re-enable them
43+
// we should probably detect if our assets change and re-run this instead of doing it every time
4144
//if (!ExtensionLoader.instance.Initialized)
4245
{
4346
var scriptPath = Path.Combine(Application.dataPath, "Editor" + Path.DirectorySeparatorChar + "GitHub.Unity" + Path.DirectorySeparatorChar + "EntryPoint.cs");

0 commit comments

Comments
 (0)