protected override void AfterGameManagerPersistanceInstanceInitialization() { base.AfterGameManagerPersistanceInstanceInitialization(); /// Mock Input to have no effect GameTestMockedInputManager.SetupForTestScene(); /// No level transition LevelTransitionManagerMock.SetupForTestScene(); /// No persistance PersistanceManager.SetInstance(new MockPersistanceManager()); }
public static void SetupForTestScene() { MockedInstance = new GameTestMockedInputManager(); SetInstance(MockedInstance); }