Skip to content

Commit ae7aabe

Browse files
committed
Fix singleton interaction
1 parent ac5f8ef commit ae7aabe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Editor/BuildManager/BuildPipeline/BuildManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public static void RunBuildSequnce(BuildManagerSettings settings, BuildSequence
3333
buildNameString = usedChangelogEntry.GetVersionHeader();
3434

3535
#if GAME_TEMPLATE
36-
TemplateGameManager.Instance.buildNameString = buildNameString;
37-
TemplateGameManager.Instance.productName = PlayerSettings.productName;
36+
TemplateGameManager.InstanceEditor.buildNameString = buildNameString;
37+
TemplateGameManager.InstanceEditor.productName = PlayerSettings.productName;
3838
#endif
3939
usedDate = DateTime.Now;
4040
//End init

Editor/Window/BuildManagerWindow.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ void DrawChangelogInfo() {
230230
EditorGUILayout.EndScrollView();
231231

232232
#if GAME_TEMPLATE
233-
TemplateGameManager.Instance.buildNameString = changelog.GetLastVersion().GetVersionHeader();;
234-
TemplateGameManager.Instance.productName = PlayerSettings.productName;
233+
TemplateGameManager.InstanceEditor.buildNameString = changelog.GetLastVersion().GetVersionHeader();;
234+
TemplateGameManager.InstanceEditor.productName = PlayerSettings.productName;
235235
#endif
236236
}
237237

0 commit comments

Comments
 (0)