Skip to content

Commit d384ca3

Browse files
committed
Fix for issue #25 related to a bug in the sample project
1 parent f8e340b commit d384ca3

File tree

1 file changed

+2
-2
lines changed
  • UnityProject/Assets/Plugins/Zenject/OptionalExtras/SampleGame1 (Beginner)/Scripts/Installers

1 file changed

+2
-2
lines changed

UnityProject/Assets/Plugins/Zenject/OptionalExtras/SampleGame1 (Beginner)/Scripts/Installers/GameInstaller.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ void InstallExecutionOrder()
110110
// If for example we wanted to ensure that AsteroidManager.Initialize
111111
// always gets called before GameController.Initialize (and similarly for Tick)
112112
// Then we could do the following:
113-
Container.BindExecutionOrder<AsteroidManager>(-10);
114-
Container.BindExecutionOrder<GameController>(-20);
113+
Container.BindExecutionOrder<AsteroidManager>(-20);
114+
Container.BindExecutionOrder<GameController>(-10);
115115

116116
// Note that they will be disposed of in the reverse order given here
117117
}

0 commit comments

Comments
 (0)